Changeset 333bbc7 in mod_gnutls for src/mod_gnutls.c


Ignore:
Timestamp:
Oct 27, 2016, 5:50:18 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, master, upstream
Children:
0a02378
Parents:
c6dda6d
Message:

Configurable OCSP socket timeout

Stalled OCSP requests must time out after a while to prevent stalling
the server too much. However, if the timeout is too short requests may
fail with a slow OCSP responder or high latency network
connection. Using the new GnuTLSOCSPFailureTimeout parameter users can
adjust the timeout if necessary.

All macros defining default values for OCSP related times are now
collected in gnutls_ocsp.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mod_gnutls.c

    rc6dda6d r333bbc7  
    288288                  "EXPERIMENTAL: Wait this many seconds before retrying a "
    289289                  "failed OCSP request"),
     290    AP_INIT_TAKE1("GnuTLSOCSPSocketTimeout", mgs_set_timeout,
     291                  NULL, RSRC_CONF,
     292                  "EXPERIMENTAL: Socket timeout for OCSP requests"),
    290293#ifdef __clang__
    291294    /* Workaround for this clang bug:
Note: See TracChangeset for help on using the changeset viewer.