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

            Bug ID: 69900
           Summary: Behaviour Change After Upgrade from Apache 2.4.57 →
                    2.4.62 (Content-Length Dropped, Forced Chunked
                    Encoding)
           Product: Apache httpd-2
           Version: 2.4.62
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Hey Team,

We recently upgraded Apache HTTP Server from 2.4.57 to 2.4.62 and observed a
behaviour change that is impacting our downstream clients.

Our Setup
Apache → Tomcat → our_web_service

Our web service explicitly sets a Content-Length header.

In some cases (e.g., binary file responses), it sets a large value such as
999999999.

In other cases, it sets a smaller value such as 161.

Issue Observed

After upgrading to version 2.4.62, Apache appears to drop the Content-Length
header and instead switches the response to Transfer-Encoding: chunked.

This change is causing issues for some of our legacy clients that rely on the
presence of the Content-Length header and do not support chunked encoding.

Request for Guidance

Is there a configuration or directive that would allow Apache 2.4.62 to
preserve the original Content-Length header from the upstream application,
maintaining backward-compatible behaviour? We would like Apache to avoid
converting these responses to chunked encoding if possible.

Any insights or recommended configuration changes would be greatly appreciated.

Thank you.

-- 
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