]> granicus.if.org Git - apache/commit
If the file specified by SSLMutex cannot be created (because the directory does...
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 16 Feb 2002 18:35:21 +0000 (18:35 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 16 Feb 2002 18:35:21 +0000 (18:35 +0000)
commit5c4823e6f07240e5a0d816333a9a15f36a815739
tree97dc27ac6fa5670a7e7bb92695d4c8e8710a410c
parent3ed1d3cf7cb71c33ba31d2481489285a39e5a1ee
If the file specified by SSLMutex cannot be created (because the directory      does not exist for example), children will segfault on init without giving      any reason that the user can figure out.  This happens because the module       init in the parent never checks to see if the mutex intialization succeded.     This patch adds this check and a user-friendly error message.

(Justin made one formatting change to this patch.)

Submitted by: Adam Sussman <myddryn@vishnu.vidya.com>
Reviewed by: Justin Erenkrantz

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93441 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/ssl/ssl_engine_init.c
modules/ssl/ssl_engine_mutex.c