[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17992856#comment-17992856
 ] 

ASF subversion and git services commented on HTTPCLIENT-2379:
-------------------------------------------------------------

Commit 2c159a572a6ba46e147cf4acc582e16405d82b01 in httpcomponents-client's 
branch refs/heads/5.5.x from yhzdys
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=2c159a572 ]

HTTPCLIENT-2379: Add H2SharingConnPool test for multiple removal of same 
PoolEntry (#665)

(cherry picked from commit 5c6c135a8b33eadd3b6867fe280c7fd9b69dc1d9)


> Multiple removal of same PoolEntry causes IllegalStateException in 
> H2SharingConnPool
> ------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2379
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2379
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>    Affects Versions: 5.5
>            Reporter: yhzdys
>            Priority: Major
>             Fix For: 5.5.1, 5.6-alpha1
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> After enabling messageMultiplexing, the H2SharingConnPool is used to reuse 
> PoolEntry.
> When making more than one request using the same connection, if the 
> connection is closed,
> the pool.release(entry, reusable) method at H2SharingConnPool.java:183 will 
> throw the following exception:
> ~~~java
> throw new IllegalStateException("Pool entry is not present in the set of 
> leased entries");
> ~~~
> This occurs because the same connection is being removed multiple times.
> https://github.com/yhzdys/httpcomponents-client/commit/c8256b33c3adb45cfa2a49efb2dacfb611da9ac1



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to