Re: why i get response if it is a post request with pass?

2015-12-28 Thread Guillaume Quintard
Well, duh. Sorry, I didn't even notice you were on v3. How much time does Apache take to answer? It might be just a tiny bit more than what varnish would like. Do you have a custom vcl_error? -- Guillaume Quintard On Mon, Dec 28, 2015 at 10:25 AM, יעקב ירמולובסקי

Re: why i get response if it is a post request with pass?

2015-12-28 Thread יעקב ירמולובסקי
How can I check how much time Does Apache take to answer? And yes, I do have a custom vcl_error: sub vcl_error { if (obj.status == 750) { set obj.http.Location = obj.response; set obj.status = 302; return(deliver); } set obj.http.x-status = obj.status; set obj.status = 302;

Re: using http/2 with varnish

2015-12-28 Thread Guillaume Quintard
Hi, For a more detailed answer : we don't support H/2 in varnish yet (working on it!). So, if you really really want H/2, having nginx in front of varnish can be a solution. If you are only interested in https, however, varnish 4.1 and onward supports the proxy protocol. It will allow to use and

Re: why i get response if it is a post request with pass?

2015-12-28 Thread Geoff Simmons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/28/15 10:25 AM, יעקב ירמולובסקי wrote: > I'm using varnish 3 so I don't think that I have > vcl_backend_error. Right, but your VCL is evidently doing something in the form of error handling, since it reacted to the fetch error (which is seen

Re: why i get response if it is a post request with pass?

2015-12-28 Thread יעקב ירמולובסקי
But if I have the following in my vcl file: .first_byte_timeout = 600s; .between_bytes_timeout = 600s; Doesn't varnish suppose to respect it? Where can I see how long the apache took to respond? On Mon, Dec 28, 2015 at 12:17 PM, Geoff Simmons wrote: > -BEGIN PGP SIGNED

Re: why i get response if it is a post request with pass?

2015-12-28 Thread Guillaume Quintard
It looks like your backend failed to deliver ("http first read error", then "backend write error"), so you were taken to vcl_backend_error then to vcl_deliver. Could it be that your vcl has a vcl_backend_error that rewrites the error code? >From the varnish side, your backend failed, it may be a

Re: why i get response if it is a post request with pass?

2015-12-28 Thread Geoff Simmons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 12/28/15 11:30 AM, יעקב ירמולובסקי wrote: > But if I have the following in my vcl file: .first_byte_timeout = > 600s; .between_bytes_timeout = 600s; > > Doesn't varnish suppose to respect it? In that case it wasn't a first byte timeout.

Re: why i get response if it is a post request with pass?

2015-12-28 Thread יעקב ירמולובסקי
is there any other variable that controls the 5 seconds disconnection from varnish? Is it possible that there is a bug in varnish that ignores first_byte_timeout? On Mon, Dec 28, 2015 at 12:57 PM, Geoff Simmons wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On

Re: why i get response if it is a post request with pass?

2015-12-28 Thread יעקב ירמולובסקי
Will increasing sess_timeout will help? On Mon, Dec 28, 2015 at 1:09 PM, יעקב ירמולובסקי wrote: > is there any other variable that controls the 5 seconds disconnection from > varnish? > Is it possible that there is a bug in varnish that ignores > first_byte_timeout? > >

Re: using http/2 with varnish

2015-12-28 Thread Hernán Marsili
Thank you very much. Is there an estimate time for h2 support? (first quarter 2016, mid-year, etc?). Just to have a notion. Best regards, Hernán. On Mon, Dec 28, 2015 at 5:48 AM Guillaume Quintard < guilla...@varnish-software.com> wrote: > Hi, > > For a more detailed answer : we don't support

Re: using http/2 with varnish

2015-12-28 Thread Guillaume Quintard
I think our goal is mid 2016, hopefully sooner, but don't take that as a promise. -- Guillaume Quintard On Mon, Dec 28, 2015 at 12:29 PM, Hernán Marsili wrote: > Thank you very much. Is there an estimate time for h2 support? (first > quarter 2016, mid-year, etc?). Just

Installing Varnis on Debian 7

2015-12-28 Thread Debraj Manna
Hi, I am trying to install Varnish 4 on Debian 7 as mentioned in this link . But on doing apt-get install varnish. I am getting the below error. root@SPK-D-0476:/home/debraj# apt-get install varnish Reading package lists... Done Building