GitHub user hirthwork opened a pull request:
https://github.com/apache/httpcore/pull/28
Support 64-bit chunk headers
Some caching servers (like nginx) doesn't send Content-Length for cached
responses from upstream which returned chunked response. The only way to ensure
response completeness is to use chunked encoding.
Unfortunately, nginx sends whole response in single chunk, so chunk header
will contain file size, which can be greater than Integer.MAX_VALUE (however,
still can be processed by ZeroCopyConsumer).
Proposed patch contains changes for huge chunks processing. New unit-tests
included.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hirthwork/httpcore 4.4.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpcore/pull/28.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #28
----
commit a5fd52bac46ca6bc8875e0c10371f8878b8174bb
Author: Dmitry Potapov <[email protected]>
Date: 2016-04-04T19:46:03Z
Support 64-bit chunk headers
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]