Ok, I'm a dork - those apr_'s are ap_'s in 1.3. My bad - sorry.
Still a wise choice, grab it unmauled by email from
http://people.apache.org/~wrowe/httpd-1.3-proto-cl-te.patch
At 03:26 PM 7/15/2005, William A. Rowe, Jr. wrote:
>folks, the same patch Paul/Joe worked out for 2.1, then 2.0,
>should still probably fall on 1.3 even though proxy is not
>affected. Other modules surely could be hit.
>
>Votes/Comments? I think this is it for getting 1.3.34 out.
>
>Index: src/main/http_protocol.c
>===================================================================
>--- src/main/http_protocol.c (revision 209835)
>+++ src/main/http_protocol.c (working copy)
>@@ -1214,6 +1214,14 @@
> ap_log_transaction(r);
> return r;
> }
>+ if (ap_table_get(r->headers_in, "Transfer-Encoding")
>+ && ap_table_get(r->headers_in, "Content-Length")) {
>+ /* 2616 section 4.4, point 3: "if both Transfer-Encoding
>+ * and Content-Length are received, the latter MUST be
>+ * ignored"; so unset it here to prevent any confusion
>+ * later. */
>+ ap_table_unset(r->headers_in, "Content-Length");
>+ }
> }
> else {
> ap_kill_timeout(r);