<div dir="ltr">Hello,<br><br>I am encountering an issue with varnish and pipes. When the number of backend connections achieves max_connections, varnish doesn't send any data. <br><br>The error message from curl is "curl: (52) Empty reply from server". That seems to be a bug because, in my opinion Varnish is supposed to reply a 503 error at least.<br><br>It is easy to reproduce. I installed the official debian package (wheezy) of varnish 4. Then I put this little configuration.<br><br>vcl 4.0;<br>backend default {<br> .host = "127.0.0.1";<br> .port = "80";<br> .max_connections = 1;<br>}<br><br>sub vcl_recv {<br> return (pipe);<br>}<br><br>Then I made 2 simultaneous connections. To make it as simplest as possible, I installed Apache as backend with mod_php and I added a script which only makes a "sleep(10)". When I make 2 curl simultaneously, the second gives me this error "curl: (52) Empty reply from server" .<br><br>Is it an expected behavior?<br><br>Best regards,<br>--<br clear="all"><div><div><div dir="ltr">Jérémy HAGE <br> <br></div></div></div>
</div>