Commit 4202d56e authored by Aaron Bannert's avatar Aaron Bannert
Browse files

The pre_config hook now takes a return value. This allows modules to

cause the server to bail out under error conditions.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@93063 13f79535-47bb-0310-9956-ffa450edef68
parent c3a09128
Loading
Loading
Loading
Loading
+3 −1
Changes for mod_ssl.c: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ static const command_rec ssl_config_cmds[] = {
 *  the various processing hooks
 */

static void ssl_hook_pre_config(
static int ssl_hook_pre_config(
    apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
{
    /* Register us to handle mod_log_config %c/%x variables */
@@ -215,6 +215,8 @@ static void ssl_hook_pre_config(
    /* XXX: Register us to handle mod_status extensions that don't exist yet */
    ssl_scache_status_register(pconf);
#endif /* -0- */

    return OK;
}

static int ssl_hook_pre_connection(conn_rec *c)