Changeset 764fef3 in mod_gnutls for src/gnutls_cache.h


Ignore:
Timestamp:
May 31, 2020, 6:24:41 AM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master
Children:
e151b6f
Parents:
7e29705
git-author:
Fiona Klute <fiona.klute@…> (05/31/20 06:17:51)
git-committer:
Fiona Klute <fiona.klute@…> (05/31/20 06:24:41)
Message:

Load cached proxy TLS sessions from cache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_cache.h

    r7e29705 r764fef3  
    22 *  Copyright 2004-2005 Paul Querna
    33 *  Copyright 2014 Nikos Mavrogiannopoulos
    4  *  Copyright 2015-2018 Fiona Klute
     4 *  Copyright 2015-2020 Fiona Klute
    55 *
    66 *  Licensed under the Apache License, Version 2.0 (the "License");
     
    3333 * `Mutex` directive */
    3434#define MGS_CACHE_MUTEX_NAME "gnutls-cache"
     35
     36/** 8K is the maximum size accepted when receiving OCSP responses,
     37 * sessions cache entries should be much smaller. The buffer is
     38 * reallocated to actual size after fetching, so memory waste is
     39 * minimal and temporary. */
     40#define MGS_SESSION_FETCH_BUF_SIZE (8 * 1024)
    3541
    3642/**
Note: See TracChangeset for help on using the changeset viewer.