]> granicus.if.org Git - apache/commitdiff
at least make a note of SSL_R_HTTP_REQUEST error (until this is properly dealt with)
authorDoug MacEachern <dougm@apache.org>
Thu, 16 Aug 2001 17:17:16 +0000 (17:17 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 16 Aug 2001 17:17:16 +0000 (17:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90229 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/mod_ssl.c

index 84d099e2f33215cb2a3b3e98b1db05de3e9f5eda..b3fe5b2e05a0ebb24d63263ff0464ab8ca9b34d6 100644 (file)
@@ -382,6 +382,9 @@ int ssl_hook_process_connection(SSLFilterRec *pRec)
                            fb->bufsiz);
                 fb->inptr = fb->inbase;
                 fb->incnt = strlen((char *)fb->inptr);
+#else
+                ssl_log(c->base_server, SSL_LOG_ERROR|SSL_ADD_SSLERR,
+                        "SSL handshake failed: HTTP spoken on HTTPS port");
 #endif
             }
             else if (ssl_util_getmodconfig_ssl(pRec->pssl, "ssl::handshake::timeout")