Commit 378a7964 authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Note on not passing port to DoH parse operation.

parent fa3d12bd
......@@ -47,6 +47,10 @@ boost::optional<Request> build_request( const std::string& name
// in the given response.
//
// Irrelevant answers in the response are discarded.
//
// TODO: Passing the port in and getting a lookup
// makes for a weird interface,
// we may drop the port and just return a list of IP addresses.
TcpLookup parse_response( const Response&
, const std::string& host
, unsigned short port
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment