Bug 50402 - SetEnv proxy-sendchunks is ignored for small amounts of data
Summary: SetEnv proxy-sendchunks is ignored for small amounts of data
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy_http (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 14:48 UTC by Tomas Bjurman
Modified: 2010-12-02 14:48 UTC (History)
0 users



Attachments
Honor SetEnv proxy-sendchunked with small data (1.57 KB, patch)
2010-12-02 14:48 UTC, Tomas Bjurman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Bjurman 2010-12-02 14:48:58 UTC
Created attachment 26366 [details]
Honor SetEnv proxy-sendchunked with small data

When sending small amounts of data using Transfer-Encoding: chunked, it gets forwarded using Content-Length even though I have SetEnv proxy-sendchunked.

I don't really know if this is to be considered a bug or a feature but it's certainly something that gets confusing when the behavior is dependent on the amount of data sent.

My suggestion is to keep this behavior, unless we explicitly request to pass chunked data on to the receiver by using SetEnv proxy-sendchunked.

I'll attach a patch so you can see what I mean.

/Tomas