ASF Bugzilla – Attachment 22001 Details for
Bug 45076
pre_config hooks not called in order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pre_config hooks patch for 2.2.8
pre_config_hooks_228.patch (text/plain), 1.34 KB, created by
MENEAULT
on 2008-05-26 03:23:00 UTC
(
hide
)
Description:
pre_config hooks patch for 2.2.8
Filename:
MIME Type:
Creator:
MENEAULT
Created:
2008-05-26 03:23:00 UTC
Size:
1.34 KB
patch
obsolete
>--- httpd-2.2.8/server/main.c 2007-08-27 03:05:52.000000000 +0200 >+++ httpd-2.2.8.new/server/main.c 2008-05-25 22:29:00.000000000 +0200 >@@ -625,6 +625,9 @@ > destroy_and_exit_process(process, 1); > } > >+ /* sort hooks again for dynamically loaded modules */ >+ apr_hook_sort_all(); >+ > if (ap_run_pre_config(pconf, plog, ptemp) != OK) { > ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR, 0, > NULL, "Pre-configuration failed"); >@@ -636,7 +639,6 @@ > if (rv == OK) { > ap_fixup_virtual_hosts(pconf, server_conf); > ap_fini_vhost_config(pconf, server_conf); >- apr_hook_sort_all(); > > if (configtestonly) { > ap_run_test_config(pconf, server_conf); >@@ -696,6 +698,8 @@ > destroy_and_exit_process(process, 1); > } > >+ apr_hook_sort_all(); >+ > if (ap_run_pre_config(pconf, plog, ptemp) != OK) { > ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR, > 0, NULL, "Pre-configuration failed"); >@@ -708,7 +712,6 @@ > } > ap_fixup_virtual_hosts(pconf, server_conf); > ap_fini_vhost_config(pconf, server_conf); >- apr_hook_sort_all(); > apr_pool_clear(plog); > if (ap_run_open_logs(pconf, plog, ptemp, server_conf) != OK) { > ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45076
:
22000
| 22001 |
22844
|
27730