]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Change mod_ssl from using ssl_log() to ap_log_error().
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 16 May 2002 05:17:11 +0000 (05:17 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 16 May 2002 05:17:11 +0000 (05:17 +0000)
commit2efcdf1ba784b57527c2ce46117048acb1b91aca
tree0cd68d23a0b47ed027fa69d30da7601f071652e2
parent54ffe2df585a6b2b52ad3c2a7519f71979e7b3ff
Change mod_ssl from using ssl_log() to ap_log_error().

The issue is that ssl_log doesn't handle apr_status_t result codes.  This
leads to a number of places (esp. with mutexes) where the error codes get
lost.  Rather than extending ssl_log further, since mod_ssl is part of
our core, migrate to ap_log_error.  This means that mod_ssl no longer
does its own logging.

Most uses of SSL_ADD_ERRNO are now mapped correctly to apr_status_t values
(mainly because the APIs that used to return errnos are now APRized and
have apr_status_t codes available).

SSL_LOG_TRACE and SSL_LOG_DEBUG were mapped to the APLOG_DEBUG values.
mod_ssl prints out a LOT of debugging information, so mod_ssl with LogLevel
Debug may not be a good idea - perhaps mod_ssl should be less chatty.

Numerous printf type collisions were also resolved.

(The ssl logging code itself will be removed in a subsequent commit.)

This has been discussed on dev@httpd, but the fact that there isn't
much to review besides the mindless changes, I'm going to commit now
and rely on CTR if I screwed up anything on the translation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95127 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/mod_ssl.c
modules/ssl/ssl_engine_init.c
modules/ssl/ssl_engine_io.c
modules/ssl/ssl_engine_kernel.c
modules/ssl/ssl_engine_mutex.c
modules/ssl/ssl_engine_pphrase.c
modules/ssl/ssl_engine_rand.c
modules/ssl/ssl_scache.c
modules/ssl/ssl_scache_dbm.c
modules/ssl/ssl_scache_shmcb.c
modules/ssl/ssl_scache_shmht.c