PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_proxy_http: Disable persistent connections for SSL backends as we do
- not handle them correctly, because we recreate backend->connection for
- each request and thus try to initialize an already existing SSL
- connection.
- Trunk version of patch:
- http://svn.apache.org/viewcvs?rev=379237&view=rev
- Backport version for 2.2.x of patch:
- Trunk version of patch works
- +1 rpluem, trawick, jim
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
* otherwise sent Connection: Keep-Alive.
*/
if (!force10) {
- if (p_conn->close) {
+ if (p_conn->close || p_conn->close_on_recycle) {
buf = apr_pstrdup(p, "Connection: close" CRLF);
}
else {
backend->is_ssl = is_ssl;
+ /*
+ * TODO: Currently we cannot handle persistent SSL backend connections,
+ * because we recreate backend->connection for each request and thus
+ * try to initialize an already existing SSL connection. This does
+ * not work.
+ */
+ if (is_ssl)
+ backend->close_on_recycle = 1;
/* Step One: Determine Who To Connect To */
if ((status = ap_proxy_determine_connection(p, r, conf, worker, backend,