Strange Opera error in POST

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jun 9 21:07:07 CEST 2008


In message <484D7E2A.3060804 at torlen.net>, Erik Torlen writes:

>My vcl has this code when POST are received:
>
>        if(req.request != "GET" && req.request != "HEAD") {
>                set req.http.Connection = "close";
>                pass;
>        }
>
>This code usually works with FF and IE but NOT with Opera.
>
>If I remove "set req.http.Connection = "close";"
>
>the login process works with no problem.
>
>I have had problems with POSTs before, thats why I've been using 
>Connection = "close" on POSTs.

I'm not sure I can say much here...

The "close" trick is mostly, if not only, relevant for "pipe" mode,
where it prevents more than the first request from the client from
being piped.  It doesn't really do anything positive for "pass".

-- 
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