Hello everyone,

would it be possible to close connections in the vcl_recv when a specific header is received ?
Something like:
if ( req.http.user-agent ~ "BAD-USER_AGENT" ) {
  set req.http.connection = "close";
}

Nginx has this feature with the error code 444

Thank you,

Jean-Christophe Petit

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to