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

Explicitly deleting cookies from responses when server functionality disabled.

parent 24bfd495
......@@ -361,6 +361,11 @@ int check_request(knot_layer_t *ctx, void *module_param)
if (!srvr_sett->enabled) {
/* TODO -- IS there a way how to determine whether the original
* request came via TCP? */
if (knot_pkt_has_edns(answer)) {
/* Delete any cookies. */
return ctx->state;
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