mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Follow up to r1587607:
The init_server hook is responsible for telling why init failed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587635 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -259,15 +259,11 @@ apr_status_t ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
|
||||
|
||||
if (sc->enabled == SSL_ENABLED_TRUE || sc->enabled == SSL_ENABLED_OPTIONAL) {
|
||||
if ((rv = ssl_run_init_server(s, p, 0, sc->server->ssl_ctx)) != APR_SUCCESS) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO()
|
||||
"Init: server init_server failed");
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
else if (sc->proxy_enabled == SSL_ENABLED_TRUE) {
|
||||
if ((rv = ssl_run_init_server(s, p, 1, sc->proxy->ssl_ctx)) != APR_SUCCESS) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO()
|
||||
"Init: proxy init_server failed");
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user