You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by hirthwork <gi...@git.apache.org> on 2016/04/04 21:56:53 UTC

[GitHub] httpcore pull request: Support 64-bit chunk headers

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 <dp...@yandex-team.ru>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[GitHub] httpcore pull request: Support 64-bit chunk headers

Posted by hirthwork <gi...@git.apache.org>.
Github user hirthwork closed the pull request at:

    https://github.com/apache/httpcore/pull/28


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[GitHub] httpcore pull request: Support 64-bit chunk headers

Posted by ok2c <gi...@git.apache.org>.
Github user ok2c commented on the pull request:

    https://github.com/apache/httpcore/pull/28#issuecomment-206178824
  
    Patch committed to SVN trunk and 4.4.x branch. Please review and close


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org