https://bz.apache.org/bugzilla/show_bug.cgi?id=61820

--- Comment #5 from William A. Rowe Jr. <[email protected]> ---
(In reply to William A. Rowe Jr. from comment #4)
> Eliminating the filter may leave us exposed...
> 
> for all r->header_only and AP_STATUS_HAS_BODY(r->status) requests, reading
> rfc7230 3.3.1 and 3.3.2, it would be best to still drop Transfer-Encoding
> if we encounter it, it is actively disallowed in 1xx, 204, and of no apparent
> benefit to 304 requests. Content-Length can be preserved.

Specifically, I think we want to apply this test to drop Transfer-Encoding when
it is encountered, either here where Roy identified the foolish filtering, or
at some later point prior to transmission;

  if (r->header_only || AP_STATUS_IS_HEADER_ONLY(r->status))
     drop T-E;

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to