]> granicus.if.org Git - apache/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)
commitbd5fc8f62667ee91884fa12a3ec1eea2b1a4c8da
tree84edc44ebd09b6ed07512940531779b111678c12
parent478bb8f6b9e1ed2522f1dd1433539d21b0b628a7
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