From: William A. Rowe Jr Date: Wed, 6 Jul 2005 06:55:18 +0000 (+0000) Subject: Fix a fat-fingered typo. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96e966342d8e38d709b66da225a52d71cba4aeeb;p=thirdparty%2Fapache%2Fhttpd.git Fix a fat-fingered typo. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@209416 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/http_protocol.c b/src/main/http_protocol.c index 48207e84cb3..8899b7f8dc9 100644 --- a/src/main/http_protocol.c +++ b/src/main/http_protocol.c @@ -2114,7 +2114,7 @@ API_EXPORT(int) ap_setup_client_block(request_rec *r, int read_policy) } } - if ((r->read_body == REQUEST_NO_BODY) && + if ((r->read_body == REQUEST_NO_BODY) && (r->read_length || r->read_chunked || r->remaining)) { ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r, "%s with body is not allowed for %s", r->method, r->uri);