diff options
author | rcritten <> | 2006-08-02 18:59:12 +0000 |
---|---|---|
committer | rcritten <> | 2006-08-02 18:59:12 +0000 |
commit | 78964301c833be4c91a5a1511a5469f5d54cead3 (patch) | |
tree | 7b52f3e21f3fcaa4fde49eafd367a95504f436b1 /nss_engine_init.c | |
parent | 7a9b1dac2b2fecb18cb85d2dc1860df54d4ef4f5 (diff) | |
download | mod_nss-78964301c833be4c91a5a1511a5469f5d54cead3.tar.gz mod_nss-78964301c833be4c91a5a1511a5469f5d54cead3.tar.xz mod_nss-78964301c833be4c91a5a1511a5469f5d54cead3.zip |
200855
Turns out I didn't need to defer startup at all, the LogLevel in nss.conf
was enough. I actually had the compare reversed anyway, but that was
the least of the problem. 30% of the time the server would core during
shutdown due to a race condition.
Diffstat (limited to 'nss_engine_init.c')
-rw-r--r-- | nss_engine_init.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nss_engine_init.c b/nss_engine_init.c index d265e83..e09b077 100644 --- a/nss_engine_init.c +++ b/nss_engine_init.c @@ -969,9 +969,7 @@ static void nss_init_proxy_ctx(server_rec *s, nss_init_ctx(s, p, ptemp, sc->proxy); - /* Only try to load the certificates once the server is up */ - if (mc->nInitCount < 2) - nss_init_server_certs(s, p, ptemp, sc->proxy); + nss_init_server_certs(s, p, ptemp, sc->proxy); } static void nss_init_server_ctx(server_rec *s, @@ -985,9 +983,7 @@ static void nss_init_server_ctx(server_rec *s, nss_init_ctx(s, p, ptemp, sc->server); - /* Only try to load the certificates once the server is up */ - if (mc->nInitCount < 2) - nss_init_server_certs(s, p, ptemp, sc->server); + nss_init_server_certs(s, p, ptemp, sc->server); } /* |