PIPE asserts

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Sep 24 08:53:16 CEST 2009


In message <4AB8D635.5060804 at 1art.cz>, =?ISO-8859-1?Q?V=E1clav_B=EDlek?= writes
:
>i redefined vcl_recv this way:
>
>    if (req.request != "GET" &&
>      req.request != "HEAD" &&
>      req.request != "PUT" &&
>      req.request != "POST" &&
>      req.request != "TRACE" &&
>      req.request != "OPTIONS" &&
>      req.request != "DELETE") {
>        /* Non-RFC2616 or CONNECT which is weird. */
>        return (error);
>    }

Please open a ticket on this one.

As a workaround, you can use:

	[...]
	req.request != "DELETE") {
	    /* Non-RFC2616 or CONNECT which is weird. */
	    error 503;

(or any other status code than 503 which you might prefer)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list