Changeset d4c1a4e in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Nov 5, 2018, 4:13:10 PM (2 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.