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 class PoolingAsyncClientConnectionManager implements AsyncClientConnectio
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void completed(final ProtocolIOSession protocolIOSession) {
|
public void completed(final ProtocolIOSession protocolIOSession) {
|
||||||
|
context.setProtocolVersion(HttpVersion.HTTP_2);
|
||||||
if (callback != null) {
|
if (callback != null) {
|
||||||
callback.completed(endpoint);
|
callback.completed(endpoint);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue