Commit 7ef0c0c2 authored by Karel Slaný's avatar Karel Slaný Committed by Ondřej Surý
Browse files

Deleted a comment.

parent 395c47fe
......@@ -830,12 +830,11 @@ int kr_resolve_query_finalize(struct kr_request *request, struct sockaddr *src,
#if defined(ENABLE_COOKIES)
/* Update DNS cookies in request. */
if (type == SOCK_DGRAM) { /* @todo: Add cookies also over TCP? */
/* The actual server IP address is needed before generating the
/*
* The actual server IP address is needed before generating the
* actual cookie. If we don't know the server address then we
* also don't know the actual cookie size.
* Also the resolver somehow mangles the query packets before
* building the query i.e. the space needed for the cookie
* cannot be allocated in the cookie layer. */
*/
if (!outbound_request_update_cookies(request, src, dst)) {
return kr_error(EINVAL);
}
......
Markdown is supported
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