Removed a work-around for incorrect HTTP/1.1 async connection state reporting which has been fixed in core since 5.3.1
This commit is contained in:
parent
e2ca5838d8
commit
d7959d6f29
|
@ -102,11 +102,7 @@ final class DefaultManagedAsyncClientConnection implements ManagedAsyncClientCon
|
|||
if (ioSession.isOpen()) {
|
||||
final IOEventHandler handler = ioSession.getHandler();
|
||||
if (handler instanceof HttpConnection) {
|
||||
final HttpConnection conn = (HttpConnection) handler;
|
||||
final ProtocolVersion protocolVersion = conn.getProtocolVersion();
|
||||
if (protocolVersion != null && protocolVersion.greaterEquals(HttpVersion.HTTP_2)) {
|
||||
return conn.isOpen();
|
||||
}
|
||||
return ((HttpConnection) handler).isOpen();
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue