httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r582655 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
Date Sun, 07 Oct 2007 17:29:42 GMT
Author: niq
Date: Sun Oct  7 10:29:40 2007
New Revision: 582655

URL: http://svn.apache.org/viewvc?rev=582655&view=rev
Log:
Purge tabs in r582631

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

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=582655&r1=582654&r2=582655&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Sun Oct  7 10:29:40 2007
@@ -1494,33 +1494,33 @@
 
         interim_response = ap_is_HTTP_INFO(r->status);
         if (interim_response) {
-	    /* RFC2616 tells us to forward this.
-	     *
-	     * OTOH, an interim response here may mean the backend
-	     * is playing sillybuggers.  The Client didn't ask for
-	     * it within the defined HTTP/1.1 mechanisms, and if
-	     * it's an extension, it may also be unsupported by us.
-	     *
-	     * There's also the possibility that changing existing
-	     * behaviour here might break something.
-	     *
-	     * So let's make it configurable.
-	     */
+            /* RFC2616 tells us to forward this.
+             *
+             * OTOH, an interim response here may mean the backend
+             * is playing sillybuggers.  The Client didn't ask for
+             * it within the defined HTTP/1.1 mechanisms, and if
+             * it's an extension, it may also be unsupported by us.
+             *
+             * There's also the possibility that changing existing
+             * behaviour here might break something.
+             *
+             * So let's make it configurable.
+             */
             const char *policy = apr_table_get(r->subprocess_env,
-			                       "proxy-interim-response");
+                                               "proxy-interim-response");
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, NULL,
                          "proxy: HTTP: received interim %d response",
                          r->status);
-	    if (!policy || !strcasecmp(policy, "RFC")) {
+            if (!policy || !strcasecmp(policy, "RFC")) {
                 ap_send_interim_response(r);
-	    }
-	    /* FIXME: refine this to be able to specify per-response-status
-	     * policies and maybe also add option to bail out with 502
-	     */
-	    else if (strcasecmp(policy, "Suppress")) {
+            }
+            /* FIXME: refine this to be able to specify per-response-status
+             * policies and maybe also add option to bail out with 502
+             */
+            else if (strcasecmp(policy, "Suppress")) {
                 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL,
                              "undefined proxy interim response policy");
-	    }
+            }
         }
         /* Moved the fixups of Date headers and those affected by
          * ProxyPassReverse/etc from here to ap_proxy_read_headers



Mime
View raw message