Changeset d827d0c in mod_gnutls for src/gnutls_proxy.h


Ignore:
Timestamp:
May 30, 2020, 4:40:53 PM (17 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
411d286
Parents:
b14f6ae
Message:

Create cache keys for proxy session tickets

The key is based on the vhost name, backend server hostname (from SNI)
or IP, and its port. The vhost name is included because different
vhosts may have different settings for the same backend server. Post
handshake auth is not supported for proxy connections, so we do not
need to consider auth IDs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_proxy.h

    rb14f6ae rd827d0c  
    11/*
    2  *  Copyright 2015-2018 Fiona Klute
     2 *  Copyright 2015-2020 Fiona Klute
    33 *
    44 *  Licensed under the Apache License, Version 2.0 (the "License");
     
    4242void mgs_set_proxy_handshake_ext(mgs_handle_t * ctxt);
    4343
     44/**
     45 * Create a cache key for a session ticket of a proxy connection.
     46 *
     47 * @param ctxt The proxy connection handle (mod_gnutls is client)
     48 *
     49 * @param pool Pool to allocate the string from, if `NULL` the
     50 * connection pool is used
     51 *
     52 * @return string to be used as cache key
     53 */
     54char *mgs_proxy_ticket_id(mgs_handle_t *ctxt, apr_pool_t *pool);
     55
    4456#endif /* __MOD_GNUTLS_PROXY_H__ */
Note: See TracChangeset for help on using the changeset viewer.