Changeset 5ab2868 in mod_gnutls


Ignore:
Timestamp:
Apr 30, 2018, 11:08:29 AM (21 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master
Children:
ce5f776
Parents:
a6aa387
Message:

Remove unused server variable

The mgs_srvconf_rec.non_ssl_request variable was never read and only
set when receiving a non-TLS request.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    ra6aa387 r5ab2868  
    8989        /* Is mod_proxy enabled? */
    9090    int proxy_enabled;
    91         /* A Plain HTTP request */
    92     int non_ssl_request;
    9391
    9492    /* List of PKCS #11 provider modules to load, only valid in the
  • src/gnutls_io.c

    ra6aa387 r5ab2868  
    6666                      "GnuTLS handshake failed: HTTP spoken on HTTPS port; "
    6767                      "trying to send HTML error page");
    68         mgs_srvconf_rec *sc = (mgs_srvconf_rec *)
    69             ap_get_module_config(f->c->base_server->module_config,
    70                                  &gnutls_module);
    7168        ctxt->status = -1;
    72         sc->non_ssl_request = 1;
    7369
    7470        /* fake the request line */
Note: See TracChangeset for help on using the changeset viewer.