ok2c commented on code in PR #715:
URL: 
https://github.com/apache/httpcomponents-core/pull/715#discussion_r4183891661


##########
httpcore5-h2/src/main/java/org/apache/hc/core5/http2/nio/pool/H2ConnPool.java:
##########
@@ -155,6 +170,15 @@ protected void validateSession(
         }
     }
 
+    @Override
+    protected boolean isIdle(final IOSession session) {
+        final IOEventHandler handler = session.getHandler();
+        if (handler instanceof HttpConnection) {
+            return ((HttpConnection) handler).isIdle();

Review Comment:
   @arturobernalg Good catch. Corrected.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to