GitHub user agherardi opened a pull request:

    https://github.com/apache/httpcomponents-core/pull/56

    Improve connection reuse logic

    This is still a work-in-progress, at this point I'm just soliciting 
feedback.
    
    The purpose of this change is to improve connection reuse by detecting that 
the content stream of an HTTP response entity is already at EOF before the 
stream's read() method returns -1. This is useful when the application does not 
want to call the close() method of the content stream, since that method can 
potentially block.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/agherardi/httpcomponents-core eof

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/httpcomponents-core/pull/56.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 #56
    
----
commit cc6f3649ee1962e954b26ef686e92335f1637890
Author: alessandro.gherardi <alessandro.gherardi@...>
Date:   2018-01-10T02:14:06Z

    First commit

commit dbc8aea63788ff287c0caef28562cadca824ffa6
Author: alessandro.gherardi <alessandro.gherardi@...>
Date:   2018-01-10T02:16:16Z

    Comment

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to