From 383bae1ebc17b3f77c61224bc6e0873c2837930f Mon Sep 17 00:00:00 2001 From: Jean-Frederic Clere Date: Fri, 17 Jun 2005 16:47:43 +0000 Subject: [PATCH] if Transfer-Encoding is not "identity" ignore Content-Length. otherwise ajp-proxy hangs when Transfer-Encoding is "chunked". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@191175 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocol.c b/server/protocol.c index 7b0d15ff0f..050de39e82 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -906,7 +906,7 @@ request_rec *ap_read_request(conn_rec *conn) * the RFC says we MUST ignore the C-L header. We kill it here * to prevent more work later on in modules like mod_proxy. */ - if (te && !strcasecmp("identity", te)) { + if (te && strcasecmp("identity", te) != 0) { apr_table_unset(r->headers_in, "Content-Length"); } } -- 2.50.1