In message <[email protected]>, =?UTF-8?B?VsOhY2xhdiBCw61sZWs=?= writes:
>Hello
>
>What is the difference between
>
> [...]
> req.request != "DELETE") {
> /* Non-RFC2616 or CONNECT which is weird. */
> error 503;
This sets the returned status to "503"
>and
> [...]
> req.request != "DELETE") {
> /* Non-RFC2616 or CONNECT which is weird. */
> return (error);
This reuses whatever status you might already have received from
the backend, in the case of vcl_recv{} there were none, hence the panic.
--
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