]> granicus.if.org Git - apache/commitdiff
Move this to a HOOK_MIDDLE location. We need to add some logic to
authorRyan Bloom <rbb@apache.org>
Wed, 14 Nov 2001 00:38:16 +0000 (00:38 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 14 Nov 2001 00:38:16 +0000 (00:38 +0000)
make sure that we have a socket that the core controls if we do this,
but it is more correct.

Submitted by: Greg Stein

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91922 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 7e4a0ef82d7366d9c3dbe3b27abb8d04683eccf7..1209cf545acfc49a59301e7a596e07fe11e65051 100644 (file)
@@ -3340,7 +3340,7 @@ static void register_hooks(apr_pool_t *p)
     ap_hook_type_checker(do_nothing,NULL,NULL,APR_HOOK_REALLY_LAST);
     ap_hook_fixups(core_override_type,NULL,NULL,APR_HOOK_REALLY_FIRST);
     ap_hook_access_checker(do_nothing,NULL,NULL,APR_HOOK_REALLY_LAST);
-    ap_hook_create_connection(core_create_conn, NULL, NULL, APR_HOOK_REALLY_LAST);
+    ap_hook_create_connection(core_create_conn, NULL, NULL, APR_HOOK_MIDDLE);
     ap_hook_create_request(core_create_req, NULL, NULL, APR_HOOK_MIDDLE);
     APR_OPTIONAL_HOOK(proxy, create_req, core_create_proxy_req, NULL, NULL, 
                       APR_HOOK_MIDDLE);