|
|||||||||||
|
Re: Keepalive issues
From: Graham Leggett <minfrin(at)sharp.fm>
Date: Mon Apr 23 2001 - 16:16:59 EDT Nathan Lutchansky wrote: > I installed mod_proxy from CVS on Thursday, so I believe it's still up to
Sorry about that - the build code as lifted from mod_dav, which doesn't mention any of the shared options at all - static worked, but shared did not. I saw a fix for this posted to CVS earlier. > The one problem I'm having is that keepalive doesn't seem to work
Hmmm - I originally encountered this when I was working on the keepalive stuff. It happens when the backend server switches on keepalives, when the proxy doesn't expect it to. The proxy then expects the backend server to send data until it the connection is closed, but the backend server keeps the connection alive - which eventually times out and closes, causing the delay you are experiencing. Could you send me a tcpflow trace of the conversation that goes on between the browser and the proxy, and the proxy and the backend server - the headers should give an indication of why this is happening. > The workaround is to put a "SetEnv nokeepalive" on the backend server to
The plot thickens... When the page is in the cache, the browser will send an If-None-Match conditional header. If the object is fresh, the backend will send back a 304 Not Modified. I have a feeling that the proxy is assuming that responses without bodies (such as 304) are always non-keepalive - which is bogus... will need to investigate this some more.
Regards,
-- ----------------------------------------- minfrin@sharp.fm "There's a moon over Bourbon Street tonight..."Received on Mon Apr 23 20:18:56 2001 This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:15 EDT |
||||||||||
|
|||||||||||