/[Apache-SVN]
ViewVC logotype

Revision 1855646


Jump to revision: Previous Next
Author: ylavic
Date: Sat Mar 16 13:45:17 2019 UTC (5 years, 2 months ago)
Changed paths: 3
Log Message:
mod_proxy/ssl: cleanup per-request SSL configuration for recycled proxy conns.

The SSL dir config of proxy/backend connections is stored in r->per_dir_config
but those connections have a lifetime independent of the requests they handle.

So we need to allow the external ssl_engine_set() function to reset mod_ssl's
dir config in between proxy requests, or the first sslconn->dc could be used
after free for the next requests.

mod_proxy can then reset/reinit the request config when recycling its backend
connections.

PR 63256.


Changed paths

Path Details
Directoryhttpd/httpd/trunk/CHANGES modified , text changed
Directoryhttpd/httpd/trunk/modules/proxy/proxy_util.c modified , text changed
Directoryhttpd/httpd/trunk/modules/ssl/mod_ssl.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26