A comment was made in my previous article, Memory issues with NSMutableURLRequest’s setHTTPBody: method in iPhoneOS 2.1, stating that the “c” of “chunked” in the “Transfer-Encoding: chunked” header is similarly capitalised in OS 10.5.5, which means that the flaw in Apache’s mod_proxy is exposed by more than just the iPhone.

So if you’re trying to do chunked HTTP POST requests using the CFNetwork stack, make sure your Apache configuration can deal with the chunked header:

RequestHeader edit Transfer-Encoding Chunked chunked early

Leave a Reply