PIPE asserts

Václav Bílek v.bilek at 1art.cz
Fri Sep 25 08:34:29 CEST 2009



>>        /* 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)
> 

Hello

What is the difference  between

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

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

Vaclav Bilek



More information about the varnish-misc mailing list