Hi all,

This patch stops the forced downgrade of the connection to HTTP/1.0 for
proxy requests.

Work is currently being done to ensure that mod_proxy is compliant with
HTTP/1.1 - the downgrade needs to go for this to work :)

Regards,
Graham  
-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."
--- pristine/httpd-2.0/modules/http/http_protocol.c     Mon Mar  5 05:43:55 2001
+++ sandbox/proxy/httpd-2.0/modules/http/http_protocol.c        Thu Mar 15 10:54:54 
+2001
@@ -770,12 +770,10 @@
     if (!r->status_line)
         r->status_line = status_lines[ap_index_of_response(r->status)];
 
-    /* mod_proxy is only HTTP/1.0, so avoid sending HTTP/1.1 error response;
-     * kluge around broken browsers when indicated by force-response-1.0
+    /* kluge around broken browsers when indicated by force-response-1.0
      */
-    if (r->proxyreq
-        || (r->proto_num == HTTP_VERSION(1,0)
-            && apr_table_get(r->subprocess_env, "force-response-1.0"))) {
+    if (r->proto_num == HTTP_VERSION(1,0)
+            && apr_table_get(r->subprocess_env, "force-response-1.0")) {
 
         *protocol = "HTTP/1.0";
         r->connection->keepalive = -1;

Reply via email to