From 1c1f3fb96f30c04d1919a6d173b959316232b369 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 28 Nov 2001 04:31:34 +0000 Subject: [PATCH] remove unused ssl::handshake::timeout references (core handles all timeouts) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92211 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/mod_ssl.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/ssl/mod_ssl.c b/modules/ssl/mod_ssl.c index d30871ecae..600c0d60be 100644 --- a/modules/ssl/mod_ssl.c +++ b/modules/ssl/mod_ssl.c @@ -284,13 +284,6 @@ static int ssl_hook_pre_connection(conn_rec *c) SSL_set_verify_result(ssl, X509_V_OK); - /* - * We have to manage a I/O timeout ourself, because Apache - * does it the first time when reading the request, but we're - * working some time before this happens. - */ - ssl_util_setmodconfig(c->base_server, "ssl::handshake::timeout", (void *)FALSE); - ssl_io_filter_init(c, ssl); return APR_SUCCESS; @@ -364,13 +357,6 @@ int ssl_hook_process_connection(SSLFilterRec *pRec) ap_remove_output_filter(pRec->pOutputFilter); return HTTP_BAD_REQUEST; } - else if (ssl_util_getmodconfig_ssl(pRec->pssl, "ssl::handshake::timeout") - == (void *)TRUE) { - ssl_log(c->base_server, SSL_LOG_ERROR, - "SSL handshake timed out (client %s, server %s)", - c->remote_ip != NULL ? c->remote_ip : "unknown", - ssl_util_vhostid(c->pool,c->base_server)); - } else if ((SSL_get_error(pRec->pssl, n) == SSL_ERROR_SYSCALL) && (errno != EINTR)) { if (errno > 0) -- 2.40.0