From: Chuck Murcko Date: Fri, 18 Jan 2002 20:26:06 +0000 (+0000) Subject: The core code touch for the proxy HTTP 1.1 switch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2309cf7ca45e0e858d17b65c9da7cddc6c37954c;p=thirdparty%2Fapache%2Fhttpd.git The core code touch for the proxy HTTP 1.1 switch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92910 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/http_protocol.c b/src/main/http_protocol.c index c5a0c22ffa3..384536319a0 100644 --- a/src/main/http_protocol.c +++ b/src/main/http_protocol.c @@ -1520,12 +1520,10 @@ API_EXPORT(void) ap_basic_http_header(request_rec *r) 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 != NOT_PROXY - || (r->proto_num == HTTP_VERSION(1,0) - && ap_table_get(r->subprocess_env, "force-response-1.0"))) { + if (r->proto_num == HTTP_VERSION(1,0) + && ap_table_get(r->subprocess_env, "force-response-1.0")) { protocol = "HTTP/1.0"; r->connection->keepalive = -1;