Changeset 9418c1e in mod_gnutls
- Timestamp:
- Jan 11, 2020, 10:57:16 AM (3 years ago)
- Branches:
- asyncio, main, master, proxy-ticket
- Children:
- 98b37a1
- Parents:
- 06dcf89
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_ocsp.c
r06dcf89 r9418c1e 779 779 * 780 780 * @param s the server for which an OCSP request failed 781 * 782 * @param req_data OCSP data structure for the certificate that could 783 * not be checked 784 * 781 785 * @param timeout lifetime of the cache entry 782 786 */ 783 static void mgs_cache_ocsp_failure(server_rec *s, apr_interval_time_t timeout) 787 static void mgs_cache_ocsp_failure(server_rec *s, 788 struct mgs_ocsp_data *req_data, 789 apr_interval_time_t timeout) 784 790 { 785 791 mgs_srvconf_rec *sc = (mgs_srvconf_rec *) … … 794 800 795 801 int r = mgs_cache_store(sc->ocsp_cache, s, 796 sc->ocsp->fingerprint, dummy, expiry);802 req_data->fingerprint, dummy, expiry); 797 803 if (r != 0) 798 804 ap_log_error(APLOG_MARK, APLOG_ERR, APR_EGENERAL, s, … … 889 895 /* cache failure to rate limit retries */ 890 896 mgs_cache_ocsp_failure(ctxt->c->base_server, 897 ctxt->sc->ocsp, 891 898 ctxt->sc->ocsp_failure_timeout); 892 899 apr_global_mutex_unlock(sc->ocsp_mutex); … … 1117 1124 "Caching OCSP request failure for %s:%d.", 1118 1125 server->server_hostname, server->addrs->host_port); 1119 mgs_cache_ocsp_failure(server, sc->ocsp_failure_timeout * 2); 1126 mgs_cache_ocsp_failure(server, sc->ocsp, 1127 sc->ocsp_failure_timeout * 2); 1120 1128 } 1121 1129 }
Note: See TracChangeset
for help on using the changeset viewer.