Commit ac52b515 authored by Doug MacEachern's avatar Doug MacEachern
Browse files

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/modules/ssl@92211 13f79535-47bb-0310-9956-ffa450edef68
parent 06d5018c
Loading
Loading
Loading
Loading
+0 −14
Changes for mod_ssl.c: 0 added lines, 14 removed lines.
Original line number Diff line number Diff line
@@ -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)