httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject [PATCH] thread-safe fix for mod_proxy
Date Tue, 10 Apr 2001 23:20:48 GMT
Hi all,

The attached patch makes mod_proxy thread safe, and at the same time
fixes some nasty behavior caused by the non-thread-safeness of the
existing mod_proxy code.

Like last time, the proxy needs to attach the downstream conn_rec to the
upstream conn_rec so that keepalives can be supported. In the mean time
though, it has become clear that this link is necessary for mod_proxy to

It's been suggested that the permanent solution is to allow a mechanism
where modules can save per-connection data other than strings (c->notes)
alongside the conn_rec, but in the meantime we need a temporary solution
so that mod_proxy can work.

The first patch is for httpd.h, the second for mod_proxy.

-----------------------------------------		"There's a moon
					over Bourbon Street
View raw message