[Varnish] #847: vcl_pipe() closes connection on POST requests on timeout 60s
Varnish
varnish-bugs at varnish-cache.org
Fri Jan 14 15:25:35 CET 2011
#847: vcl_pipe() closes connection on POST requests on timeout 60s
---------------------------------+------------------------------------------
Reporter: werdan | Type: defect
Status: new | Priority: normal
Milestone: Varnish 2.1 release | Component: build
Version: trunk | Severity: normal
Keywords: |
---------------------------------+------------------------------------------
Using popular configuration for vcl_recv():
# do not cache POST requests
if (req.request == "POST") {
return (pass);
}
and initiating POST request to backend - I got connection closed in
60seconds.
Varnish backend is configured like that:
backend default {
.host = "127.0.0.1";
.port = "8088";
.connect_timeout = 600s;
.first_byte_timeout = 600s;
.between_bytes_timeout = 100s;
}
I use Apache 2.2.3 as backend.
When requesting directly Apache without Varnish - no problem arises.
The only villain left is Varnish.
If return(pipe); is changed to return(pass) -> requests are proceeded
correctly.
We use Ubuntu on Amazon cloud:
#uname -a
Linux ip-10-204-51-237 2.6.35-24-virtual #42-Ubuntu SMP Thu Dec 2 05:15:26
UTC 2010 x86_64 GNU/Linux
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/847>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list