Changeset c1ef069 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jan 27, 2015, 5:48:53 AM (5 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
beb14d9
Parents:
5342265
Message:

Record if a connection is a proxy connection

When handling a proxy request with TLS in the backend, the proxy server
acts as a TLS client. This requires a different setup of the GnuTLS
session, so we need to add a record to the connection configuration that
states whether it is a proxy backend connection or not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    r5342265 rc1ef069  
    699699        ctxt = apr_pcalloc(c->pool, sizeof (*ctxt));
    700700        ap_set_module_config(c->conn_config, &gnutls_module, ctxt);
     701        ctxt->is_proxy = GNUTLS_ENABLED_FALSE;
    701702    }
    702703    ctxt->enabled = GNUTLS_ENABLED_TRUE;
Note: See TracChangeset for help on using the changeset viewer.