Re: Conditional caching question

2008-06-09 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], David Pratt writes: Hi. Sorry for not getting back sooner. The use case I have is have backend determine when frequency reaches a threshold and set ttl dynamically based on the rate. [...] And Varnish is a perfect frontend for that. -- Poul-Henning Kamp |

Re: guru meditation errors on timeouts?

2008-06-09 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Wichert Akkerman writes: We've upgraded to current varnish trunk but are seeing a fair number of guru meditation errors appear. My hunch is that those appear when the backend server takes too long to respond. Is there a way to verify that and to change the used

Re: guru meditation errors on timeouts?

2008-06-09 Thread Wichert Akkerman
Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Wichert Akkerman writes: We've upgraded to current varnish trunk but are seeing a fair number of guru meditation errors appear. My hunch is that those appear when the backend server takes too long to respond. Is there a way to verify

Re: Strange Opera error in POST

2008-06-09 Thread Erik Torlen
Ok, I have gathered some more info about the problem. What I have is a form login that has 3 input fields, username, password and security code (from captcha). When opera is making the POST it receives a 200 OK and NOT a 302 Moved Temp. as expected. This is the request that Opera is making:

Re: Strange Opera error in POST

2008-06-09 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], 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

Re: Strange Opera error in POST

2008-06-09 Thread Erik Torlen
Yes, Im aware of that. But I did have some problem in an earlier version of trunk (and especially 1.1.2), but with the latest it seems better. I have seen alot of updates on trunk the latest days, what's the status of it, is it stable for production use? / Duja Poul-Henning Kamp skrev: In

Re: Strange Opera error in POST

2008-06-09 Thread Erik Torlen
What I should mention is that the problem can be solved by another method. If I remove the Cookie2 AND TE header it all works out fine: remove req.http.Cookie2; remove req.http.TE; if(req.request != GET req.request != HEAD) { set req.http.Connection =

Re: Strange Opera error in POST

2008-06-09 Thread Poul-Henning Kamp
Can I get you to record a varnish log where you do that and one where you don't, and then open a ticket with this issue ? Poul-Henning In message [EMAIL PROTECTED], Erik Torlen writes: What I should mention is that the problem can be solved by another method. If I remove the Cookie2 AND TE