[Varnish] #773: Setting TOS byte via VCL directive
Varnish
varnish-bugs at varnish-cache.org
Tue Sep 7 14:04:07 CEST 2010
#773: Setting TOS byte via VCL directive
-------------------------+--------------------------------------------------
Reporter: tmagnien | Owner: phk
Type: enhancement | Status: new
Priority: normal | Milestone: Later
Component: varnishd | Version: 2.1.3
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
Hi,
I've written a patch to allow for TOS byte manipulation through VCL
directive. Typical use is :
sub vcl_recv {
if ( req.url ~ "^/test.html$" ) {
set_tos 32;
}
}
This sets the TOS byte on the socket between varnishd and the client.
Any comments welcome.
Note that the patch has been tested against 2.1.3 release (the version I
use).
Regards,
Thierry
--
Ticket URL: <http://www.varnish-cache.org/ticket/773>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list