GitHub user cakofony opened a pull request:

    https://github.com/apache/httpcomponents-client/pull/82

    Fixed NPE PoolingAsyncClientConnectionManager

    PoolingAsyncClientConnectionManager.validateAfterInactivity causes
    an NPE when PoolEntries are initially created with no Connection.
    
    Added logic to avoid checking the connection on every pool
    checkout similar to the blocking pool.
    
    Added an connection.isOpen check to http1.x connections leased
    from the pool, although I'm unsure if it's at all effective.

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

    $ git pull https://github.com/cakofony/httpcomponents-client 
async_conpool_npe

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

    https://github.com/apache/httpcomponents-client/pull/82.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 #82
    
----
commit e22748f171ea55aa1c6343e763f797f69e720983
Author: Carter Kozak <c4kof...@gmail.com>
Date:   2017-08-09T15:27:28Z

    Fixed NPE PoolingAsyncClientConnectionManager
    
    PoolingAsyncClientConnectionManager.validateAfterInactivity causes
    an NPE when PoolEntries are initially created with no Connection.
    
    Added logic to avoid checking the connection on every pool
    checkout similar to the blocking pool.
    
    Added an connection.isOpen check to http1.x connections leased
    from the pool, although I'm unsure if it's at all effective.

----


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

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

Reply via email to