You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2022/11/14 16:05:05 UTC

[GitHub] [httpcomponents-client] bryanck opened a new pull request, #394: Cancel connection request on exception

bryanck opened a new pull request, #394:
URL: https://github.com/apache/httpcomponents-client/pull/394

   This PR addresses an issue when interrupting a thread when using an `HttpClient` with the `PoolingHttpClientConnectionManager`. If the pool reaches the max size, and the client is waiting on a lease request, and if the client thread is interrupted, the lease will continue to wait and the pool will not free up until the lease request timeout is reached. This change will explicitly cancel the lease request if an exception occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [httpcomponents-client] ok2c merged pull request #394: Cancel connection request on exception

Posted by GitBox <gi...@apache.org>.
ok2c merged PR #394:
URL: https://github.com/apache/httpcomponents-client/pull/394


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [httpcomponents-client] ok2c commented on pull request #394: Cancel connection request on exception

Posted by GitBox <gi...@apache.org>.
ok2c commented on PR #394:
URL: https://github.com/apache/httpcomponents-client/pull/394#issuecomment-1314389422

   @bryanck Good catch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [httpcomponents-client] michael-o commented on pull request #394: Cancel connection request on exception

Posted by GitBox <gi...@apache.org>.
michael-o commented on PR #394:
URL: https://github.com/apache/httpcomponents-client/pull/394#issuecomment-1314042710

   Interesting...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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