1
0
mirror of https://github.com/apache/httpd.git synced 2025-10-28 20:34:59 +03:00

Revert r1715789: will re-commit without spurious functional changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715869 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2015-11-23 16:28:36 +00:00
parent 15d829531e
commit 3c9ddf44bf
33 changed files with 290 additions and 242 deletions

View File

@@ -627,7 +627,7 @@ static apr_status_t dummy_connection(ap_pod_t *pod)
* expensive to do correctly (performing a complete SSL handshake)
* or cause log spam by doing incorrectly (simply sending EOF). */
lp = ap_listeners;
while (lp && lp->protocol && ap_casecmpstr(lp->protocol, "http") != 0) {
while (lp && lp->protocol && strcasecmp(lp->protocol, "http") != 0) {
lp = lp->next;
}
if (!lp) {
@@ -675,7 +675,7 @@ static apr_status_t dummy_connection(ap_pod_t *pod)
return rv;
}
if (lp->protocol && ap_casecmpstr(lp->protocol, "https") == 0) {
if (lp->protocol && strcasecmp(lp->protocol, "https") == 0) {
/* Send a TLS 1.0 close_notify alert. This is perhaps the
* "least wrong" way to open and cleanly terminate an SSL
* connection. It should "work" without noisy error logs if