On Dec 21, 2006, at 2:15 AM, Sander Temme wrote:
Or, alternatively, can I turn off connection re-use altogether? I don't know that our traffic level needs persistent connections.
OK, I believe I got it... no 502s in the past half hour. I added a SetEnv proxy-nokeepalive 1to the <Location> blocks that were proxied through the offending firewall.
This is even documented (blush): http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#envsettingsIt seems to be working great: connections to the back-end are sent with the Connection: close header and immediately torn down after the request with a FIN sequence. Connections between the Application Router and the client remain full HTTP/1.1, with Keepalive.
Neat. S. -- sctemme@xxxxxxxxxx http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF
Attachment:
smime.p7s
Description: S/MIME cryptographic signature