]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
No idea why an HTTP/1.1 proxy would send an HTTP/1.0 request
authorGraham Leggett <minfrin@apache.org>
Sat, 2 Mar 2002 13:08:52 +0000 (13:08 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 2 Mar 2002 13:08:52 +0000 (13:08 +0000)
to a remote server by default.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@93670 13f79535-47bb-0310-9956-ffa450edef68

src/CHANGES
src/modules/proxy/proxy_http.c

index cad2d7b4b729b35cbd582f02a70080cf7659b1e6..85d48f89565382ab468664ecd5965a46726e94b7 100644 (file)
@@ -1,5 +1,9 @@
 Changes with Apache 1.3.24
 
+  *) No idea why an HTTP/1.1 proxy would send an HTTP/1.0 request
+     to a remote server by default. Fixed.
+     [Graham Leggett, Gabriel Russell <g.russell@ieee.org>]
+
   *) NetWare: Added the module mod_log_nw to handle log rotation.
      This module adds LogRotateDaily and LogRotateInterval to allow
      all of the custom logs to be either rotated on a daily basis or
index f03816110a8fe52afa78c5bbe02b9a7e907195f4..0e3e9651371fe9942a43c185d813339c8fc38f53 100644 (file)
@@ -302,7 +302,7 @@ int ap_proxy_http_handler(request_rec *r, cache_req *c, char *url,
     ap_bpushfd(f, sock, sock);
 
     ap_hard_timeout("proxy send", r);
-    ap_bvputs(f, r->method, " ", proxyhost ? url : urlptr, " HTTP/1.0" CRLF,
+    ap_bvputs(f, r->method, " ", proxyhost ? url : urlptr, " HTTP/1.1" CRLF,
            NULL);
     /* Send Host: now, adding it to req_hdrs wouldn't be much better */
     if (destportstr != NULL && destport != DEFAULT_HTTP_PORT)