mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
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:
@@ -73,7 +73,7 @@ static int proxy_balancer_canon(request_rec *r, char *url)
|
||||
apr_port_t port = 0;
|
||||
|
||||
/* TODO: offset of BALANCER_PREFIX ?? */
|
||||
if (ap_casecmpstrn(url, "balancer:", 9) == 0) {
|
||||
if (ap_cstr_casecmpn(url, "balancer:", 9) == 0) {
|
||||
url += 9;
|
||||
}
|
||||
else {
|
||||
@@ -1154,7 +1154,7 @@ static int balancer_handler(request_rec *r)
|
||||
if ((val = apr_table_get(params, "w_hm"))) {
|
||||
proxy_hcmethods_t *method = proxy_hcmethods;
|
||||
for (; method->name; method++) {
|
||||
if (!ap_casecmpstr(method->name, val) && method->implemented)
|
||||
if (!ap_cstr_casecmp(method->name, val) && method->implemented)
|
||||
wsel->s->method = method->method;
|
||||
}
|
||||
}
|
||||
@@ -1430,7 +1430,7 @@ static int balancer_handler(request_rec *r)
|
||||
ap_rprintf(r, " <httpd:lbset>%d</httpd:lbset>\n",
|
||||
worker->s->lbset);
|
||||
/* End proxy_worker_stat */
|
||||
if (!ap_casecmpstr(worker->s->scheme, "ajp")) {
|
||||
if (!ap_cstr_casecmp(worker->s->scheme, "ajp")) {
|
||||
ap_rputs(" <httpd:flushpackets>", r);
|
||||
switch (worker->s->flush_packets) {
|
||||
case flush_off:
|
||||
|
Reference in New Issue
Block a user