httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1725499 - /httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
Date Tue, 19 Jan 2016 12:50:03 GMT
Author: jim
Date: Tue Jan 19 12:50:03 2016
New Revision: 1725499

URL: http://svn.apache.org/viewvc?rev=1725499&view=rev
Log:
OPTIONS/HEAD proxy function should be diff from simple TCP check

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c?rev=1725499&r1=1725498&r2=1725499&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Tue Jan 19 12:50:03 2016
@@ -570,16 +570,16 @@ static apr_status_t hc_check_headers(sct
     hc = hc_get_hcworker(ctx, worker, p);
     wctx = (wctx_t *)hc->context;
 
-    if ((status = hc_get_backend(p, "HCTCP", &backend, hc, ctx)) != OK) {
-        return backend_cleanup("HCTCP", backend, ctx->s, status);
+    if ((status = hc_get_backend(p, "HCOH", &backend, hc, ctx)) != OK) {
+        return backend_cleanup("HCOH", backend, ctx->s, status);
     }
-    if ((status = ap_proxy_connect_backend("HCTCP", backend, hc, ctx->s)) != OK) {
-        return backend_cleanup("HCTCP", backend, ctx->s, status);
+    if ((status = ap_proxy_connect_backend("HCOH", backend, hc, ctx->s)) != OK) {
+        return backend_cleanup("HCOH", backend, ctx->s, status);
     }
 
     if (!backend->connection) {
-        if ((status = ap_proxy_connection_create("HCTCP", backend, &c, ctx->s)) !=
OK) {
-            return backend_cleanup("HCTCP", backend, ctx->s, status);
+        if ((status = ap_proxy_connection_create("HCOH", backend, &c, ctx->s)) !=
OK) {
+            return backend_cleanup("HCOH", backend, ctx->s, status);
         }
     }
     switch (hc->s->method) {
@@ -605,7 +605,7 @@ static apr_status_t hc_check_headers(sct
             break;
 
         default:
-            return backend_cleanup("HCTCP", backend, ctx->s, !OK);
+            return backend_cleanup("HCOH", backend, ctx->s, !OK);
             break;
     }
 
@@ -615,7 +615,7 @@ static apr_status_t hc_check_headers(sct
     r->pool = p;
     status = hc_read_headers(ctx, r);
 
-    return backend_cleanup("HCTCP", backend, ctx->s, status);
+    return backend_cleanup("HCOH", backend, ctx->s, status);
 }
 
 



Mime
View raw message