Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747469 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2016-06-09 00:06:42 +00:00
parent a3142bb870
commit f4cc76ee71
50 changed files with 374 additions and 364 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 && ap_cstr_casecmp(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 && ap_cstr_casecmp(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