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


##########
httpcore5/src/main/java/org/apache/hc/core5/http/impl/bootstrap/HttpAsyncRequester.java:
##########
@@ -285,6 +289,21 @@ public void execute(
 
                     @Override
                     public void completed(final AsyncClientEndpoint endpoint) {
+                        final int max = maxPendingCommandsPerConnection;
+                        if (max > 0) {
+                            final IOSession ioSession = 
((InternalAsyncClientEndpoint) endpoint).getIOSession();

Review Comment:
   @arturobernalg This is really bad. I am going to rewrite it.



-- 
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