Changeset e151b6f in mod_gnutls for src/gnutls_proxy.c


Ignore:
Timestamp:
Jun 1, 2020, 6:18:25 AM (16 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
f97f44c
Parents:
764fef3
Message:

Do not try to cache or load cached proxy sessions without a session cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_proxy.c

    r764fef3 re151b6f  
    408408static void proxy_conn_load_session(mgs_handle_t *ctxt)
    409409{
     410    /* No cache means there cannot be a cached ticket. */
     411    if (!ctxt->sc->cache_enable)
     412        return;
     413
    410414    gnutls_datum_t data = {NULL, 0};
    411415    data.data = gnutls_malloc(MGS_SESSION_FETCH_BUF_SIZE);
Note: See TracChangeset for help on using the changeset viewer.