]> granicus.if.org Git - apache/commitdiff
remove unused ssl::handshake::timeout references
authorDoug MacEachern <dougm@apache.org>
Wed, 28 Nov 2001 04:31:34 +0000 (04:31 +0000)
committerDoug MacEachern <dougm@apache.org>
Wed, 28 Nov 2001 04:31:34 +0000 (04:31 +0000)
(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

index d30871ecaed7d45fe193d9783a93fd4533681765..600c0d60bef7b64f872c053e87addd016c4def21 100644 (file)
@@ -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)