Changeset c1ef069 in mod_gnutls for src/mod_gnutls.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/mod_gnutls.c

    r5342265 rc1ef069  
    101101    }
    102102    ctxt->enabled = GNUTLS_ENABLED_FALSE;
     103    ctxt->is_proxy = GNUTLS_ENABLED_TRUE;
    103104
    104105    if (c->input_filters)
     
    134135    }
    135136    ctxt->enabled = GNUTLS_ENABLED_TRUE;
     137    ctxt->is_proxy = GNUTLS_ENABLED_TRUE;
    136138    return 1;
    137139}
Note: See TracChangeset for help on using the changeset viewer.