Changeset 0378c22 in mod_gnutls


Ignore:
Timestamp:
Dec 17, 2018, 1:19:48 PM (4 weeks ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
564f33f
Parents:
68b5156
Message:

Move mod_proxy note name definitions to gnutls_proxy.h

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    r68b5156 r0378c22  
    263263
    264264/* Proxy Support */
    265 /** mod_proxy adds a note with this key to the connection->notes table
    266  * for client connections */
    267 #define PROXY_SNI_NOTE "proxy-request-hostname"
    268265/* An optional function which returns non-zero if the given connection
    269266is using SSL/TLS. */
  • src/gnutls_io.c

    r68b5156 r0378c22  
    1919
    2020#include "mod_gnutls.h"
     21#include "gnutls_proxy.h"
    2122#include <apr_strings.h>
    2223
     
    408409
    409410        const char *proxy_alpn =
    410             apr_table_get(ctxt->c->notes, "proxy-request-alpn-protos");
     411            apr_table_get(ctxt->c->notes, PROXY_ALPN_NOTE);
    411412        if (proxy_alpn != NULL)
    412413        {
  • src/gnutls_proxy.h

    r68b5156 r0378c22  
    2222#include <httpd.h>
    2323
     24/** proxy modules may add a note with this key to the
     25 * connection->notes table for client connections to indicate the
     26 * server hostname */
     27#define PROXY_SNI_NOTE "proxy-request-hostname"
     28
     29/** proxy modules may add a note with this key to the connection->notes
     30 * table for client connections to indicate supported protocols */
     31#define PROXY_ALPN_NOTE "proxy-request-alpn-protos"
     32
    2433apr_status_t load_proxy_x509_credentials(apr_pool_t *pconf,
    2534                                         apr_pool_t *ptemp,
Note: See TracChangeset for help on using the changeset viewer.