Changeset 4aa63a4 in mod_gnutls for src/mod_gnutls.c


Ignore:
Timestamp:
Apr 19, 2018, 2:08:30 PM (19 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master
Children:
5c62a6a
Parents:
e00a037
Message:

Infrastructure for mod_watchdog support

Asynchronous OCSP cache updates require some kind of timed callbacks
outside of the request handling context. The watchdog module provides
this, is included in HTTPD builds by default, and the documentation
does not mention any restrictions regarding supported MPMs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mod_gnutls.c

    re00a037 r4aa63a4  
    3030                   int proxy, int enable);
    3131
     32#define MOD_HTTP2 "mod_http2.c"
    3233static const char * const mod_proxy[] = { "mod_proxy.c", NULL };
    33 static const char * const mod_http2[] = { "mod_http2.c", NULL };
     34static const char * const mod_http2[] = { MOD_HTTP2, NULL };
    3435
    3536static void gnutls_hooks(apr_pool_t * p __attribute__((unused)))
    3637{
    37     /* Try Run Post-Config Hook After mod_proxy */
    38     ap_hook_post_config(mgs_hook_post_config, mod_proxy, mod_http2,
     38    /* Watchdog callbacks must be configured before post_config of
     39     * mod_watchdog runs, or the watchdog won't be started. */
     40    static const char * const post_conf_succ[] =
     41        { MOD_HTTP2, "mod_watchdog.c", NULL };
     42    ap_hook_post_config(mgs_hook_post_config, mod_proxy, post_conf_succ,
    3943                        APR_HOOK_MIDDLE);
    4044    /* HTTP Scheme Hook */
Note: See TracChangeset for help on using the changeset viewer.