mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-09 03:25:28 +00:00
Bug fix: PoolingAsyncClientConnectionManager fails to update the execution context upon upgrade to HTTP/2
This commit is contained in:
parent
0390f8d274
commit
d76d27bed7
@ -507,6 +507,7 @@ public void completed(final ManagedAsyncClientConnection connection) {
|
||||
|
||||
@Override
|
||||
public void completed(final ProtocolIOSession protocolIOSession) {
|
||||
context.setProtocolVersion(HttpVersion.HTTP_2);
|
||||
if (callback != null) {
|
||||
callback.completed(endpoint);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user