Skip to content

Add reused connections to PoolStats#280

Closed
eduardoaugustoes wants to merge 332 commits intomasterfrom
4.4.x
Closed

Add reused connections to PoolStats#280
eduardoaugustoes wants to merge 332 commits intomasterfrom
4.4.x

Conversation

@eduardoaugustoes
Copy link

I need to track the amount of reused connections for monitoring purposes.
This PR adds this feature to PoolStats, AbstractConnPool, RouteSpecificPool, and AbstactNIOConnPool.

garydgregory and others added 30 commits June 23, 2016 20:08
…smatch2() was failing on Windows with Java 6 but was OK with Java 7 and 8.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750001 13f79535-47bb-0310-9956-ffa450edef68
…smatch2() was failing on Windows with Java 6 but was OK with Java 7 and 8.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1750002 13f79535-47bb-0310-9956-ffa450edef68
Contributed by Clement Pellerin <clement_pellerin at ibi.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1765101 13f79535-47bb-0310-9956-ffa450edef68
…ResponseConsumer for customization of Content-Type parsing / inference logic

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1772539 13f79535-47bb-0310-9956-ffa450edef68
…t data in some cases if closed by the opposite endpoint

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1779966 13f79535-47bb-0310-9956-ffa450edef68
Contributed by Andrew Shore <shorea at amazon.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1780648 13f79535-47bb-0310-9956-ffa450edef68
ok2c and others added 29 commits October 13, 2019 12:33
…nse over idle connection in case of a timeout (no prior request); cleaned up exception handling logic in HttpAsyncService; reverted HTTPCORE-482
…est immediately upon timeout"

This reverts commit aa81228
…ion in changing multiple variables (#157)

* Adds state in SessionRequestImpl to avoid changing multiple variables that may create inconsistent states in high concurrency
…l newly created sessions when being shut down
…represent Content-Length value instead of long
pool cached in getPoolEntryBlocking could be removed from routeToPool map by another thread while the thread executing getPoolEntryBlocking was waiting on condition.
After this change we check routeToPool after every wait.
…ception: Broken pipe' can enter an infinite loop flushing buffered output data
…vent spin when closed concurrently by the local and the remote endpoints
- All methods in a final class are already final.
- All members of an interface are public.
- All inner enums are static.
…m the `#close` method of classic HTTP connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.