Changeset d4c1a4e in mod_gnutls


Ignore:
Timestamp:
Nov 5, 2018, 4:13:10 PM (10 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master
Children:
4963516
Parents:
c0fc11e
Message:

Add a reference from mod_gnutls server settings back to the server_rec

During the TLS handshake conn_rec.base_server isn't set to the right
virtual host yet because the HTTP request hasn't been received and
parsed. After selecting the virtual host based on SNI we can use the
new reference instead.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    rc0fc11e rd4c1a4e  
    8080/** Server Configuration Record */
    8181typedef struct {
     82    /** Server this mod_gnutls configuration is for */
     83    server_rec* s;
     84
    8285    /* --- Configuration values --- */
    8386        /* Is the module enabled? */
  • src/gnutls_hooks.c

    rc0fc11e rd4c1a4e  
    635635    {
    636636        sc = (mgs_srvconf_rec *) ap_get_module_config(s->module_config, &gnutls_module);
     637        sc->s = s;
    637638        sc->cache_enable = sc_base->cache_enable;
    638639        sc->cache = sc_base->cache;
Note: See TracChangeset for help on using the changeset viewer.