Changeset 3c475e0 in mod_gnutls
- Timestamp:
- Apr 19, 2018, 3:20:16 PM (5 years ago)
- Branches:
- asyncio, debian/master, main, master, proxy-ticket
- Children:
- 61e802c
- Parents:
- 103cafa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mod_gnutls.c
r103cafa r3c475e0 31 31 32 32 #define MOD_HTTP2 "mod_http2.c" 33 #define MOD_WATCHDOG "mod_watchdog.c" 33 34 static const char * const mod_proxy[] = { "mod_proxy.c", NULL }; 34 35 static const char * const mod_http2[] = { MOD_HTTP2, NULL }; 36 static const char * const mod_watchdog[] = { MOD_WATCHDOG, NULL }; 35 37 36 38 static void gnutls_hooks(apr_pool_t * p __attribute__((unused))) 37 39 { 38 40 /* Watchdog callbacks must be configured before post_config of 39 * mod_watchdog runs, or the watchdog won't be started. */ 41 * mod_watchdog runs, or the watchdog won't be started. Similarly, 42 * our child_init hook must run before mod_watchdog's because our 43 * watchdog threads are started there and need some child-specific 44 * resources. */ 40 45 static const char * const post_conf_succ[] = 41 { MOD_HTTP2, "mod_watchdog.c", NULL };46 { MOD_HTTP2, MOD_WATCHDOG, NULL }; 42 47 ap_hook_post_config(mgs_hook_post_config, mod_proxy, post_conf_succ, 43 48 APR_HOOK_MIDDLE); … … 55 60 APR_HOOK_MIDDLE); 56 61 /* Child-Init Hook */ 57 ap_hook_child_init(mgs_hook_child_init, NULL, NULL,62 ap_hook_child_init(mgs_hook_child_init, NULL, mod_watchdog, 58 63 APR_HOOK_MIDDLE); 59 64 /* Authentication Hook */
Note: See TracChangeset
for help on using the changeset viewer.