Skip to content
Snippets Groups Projects
Commit 91c22079 authored by Karel Slaný's avatar Karel Slaný Committed by Ondřej Surý
Browse files

Deleted code that has already been commented out.

parent 4063de10
Branches
Tags
No related merge requests found
......@@ -277,16 +277,11 @@ int check_response(knot_layer_t *ctx, knot_pkt_t *pkt)
* Either the planning of the second request failed or
* BADCOOKIE received for the second time.
*
* A TCP fall-back would be desirable. But, TCP is not
* currently reliably supported in the resolver.
* Therefore, the resolution just fails.
* RFC7873 5.3 says that TCP should be used. Currently
* we always expect that the server doesn't support TCP.
*/
qry->flags &= ~QUERY_BADCOOKIE_AGAIN;
return KNOT_STATE_FAIL;
/*
DEBUG_MSG(NULL, "%s\n", "falling back to TCP");
qry->flags |= QUERY_TCP;
*/
}
return KNOT_STATE_CONSUME;
......
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