Browse code

tls proxy: immediately close a connection to the backend

Force mod_proxy to immediately close a connection to the backend
after being used, and thus, disable its persistent connection and
pool for that backend.

Let's see if that helps fixing bug #1630664 (the
Connection aborted/ BadStatusLine thing).

We already have an ER query (in queries/1630664.yaml) that should show
whether this is effective.

Change-Id: I03b09f7df5c6e134ec4091a2f8dfe8ef614d1951

Jordan Pittier authored on 2017/02/10 23:01:37
Showing 1 changed files
... ...
@@ -520,7 +520,7 @@ $listen_string
520 520
     SSLCertificateFile $DEVSTACK_CERT
521 521
 
522 522
     <Location />
523
-        ProxyPass http://$b_host:$b_port/ retry=5 nocanon
523
+        ProxyPass http://$b_host:$b_port/ retry=5 disablereuse=on keepalive=off nocanon
524 524
         ProxyPassReverse http://$b_host:$b_port/
525 525
     </Location>
526 526
     ErrorLog $APACHE_LOG_DIR/tls-proxy_error.log