- Timestamp:
- Oct 13, 2016, 3:23:21 PM (4 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, master, proxy-ticket, upstream
- Children:
- d26fa55
- Parents:
- 4bc17ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_ocsp.c
r4bc17ae r3f0b470 35 35 #define OCSP_RESP_TYPE "application/ocsp-response" 36 36 37 /* Default socket timeout for OCSP responder connections, in 38 * seconds. Note that the timeout applies to "absolutely no data sent 39 * or received", not the whole connection. 10 seconds in mod_ssl. */ 40 #define OCSP_SOCKET_TIMEOUT 2 37 41 38 42 … … 453 457 apr_socket_t *sock; 454 458 /* TODO: configurable timeout */ 455 apr_interval_time_t timeout = apr_time_from_sec( 2);459 apr_interval_time_t timeout = apr_time_from_sec(OCSP_SOCKET_TIMEOUT); 456 460 while (sa) 457 461 {
Note: See TracChangeset
for help on using the changeset viewer.