In message <[email protected]>, =?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
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to