]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_ssl was "leaking" on restart since mc->tTmpKeys table entries
authorDoug MacEachern <dougm@apache.org>
Thu, 28 Feb 2002 00:01:57 +0000 (00:01 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 28 Feb 2002 00:01:57 +0000 (00:01 +0000)
commitd6a76369d53114f0b180aea4bfe532740c31f41b
tree84edc44ebd09b6ed07512940531779b111678c12
parent309dbe5527fba938b5a7643c68b60ce05b48ee76
mod_ssl was "leaking" on restart since mc->tTmpKeys table entries
were allocated using apr_palloc out of s->process->pool and pushed
into an apr_array_header_t.
solve the problem by moving from apr_array_header_t's to an apr_hash_t.
also add ssl_asn1_table_{set,unset} wrappers to use malloc/free so we
do not "leak" from s->process->pool.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93612 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/mod_ssl.h
modules/ssl/ssl_engine_config.c
modules/ssl/ssl_engine_ds.c
modules/ssl/ssl_engine_init.c