arturobernalg commented on code in PR #553:
URL: 
https://github.com/apache/httpcomponents-core/pull/553#discussion_r2335778085


##########
httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java:
##########
@@ -1456,6 +1497,9 @@ public void push(final List<Header> headers, final 
AsyncPushProducer pushProduce
 
             ioSession.getLock().lock();
             try {
+                if (countActiveLocalInitiated() >= 
remoteConfig.getMaxConcurrentStreams()) {

Review Comment:
   @ok2c  I reworked the patch so we never drop user traffic because of the 
peer’s MAX_CONCURRENT_STREAMS.



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