From 0a56d580635c536f64f6ac45cc618e940cb7a336 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Sat, 2 Mar 2002 13:08:52 +0000 Subject: [PATCH] No idea why an HTTP/1.1 proxy would send an HTTP/1.0 request 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 | 4 ++++ src/modules/proxy/proxy_http.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CHANGES b/src/CHANGES index cad2d7b4b72..85d48f89565 100644 --- a/src/CHANGES +++ b/src/CHANGES @@ -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 ] + *) 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 diff --git a/src/modules/proxy/proxy_http.c b/src/modules/proxy/proxy_http.c index f03816110a8..0e3e9651371 100644 --- a/src/modules/proxy/proxy_http.c +++ b/src/modules/proxy/proxy_http.c @@ -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) -- 2.47.2