You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2026/06/15 17:05:19 UTC

(httpcomponents-core) branch 5.4.x updated: HTTPCORE-774: fixed a race condition caused by concurrent update of the connection input window to the max value.

This is an automated email from the ASF dual-hosted git repository.

ok2c pushed a commit to branch 5.4.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git


The following commit(s) were added to refs/heads/5.4.x by this push:
     new af61c1ea5 HTTPCORE-774: fixed a race condition caused by concurrent update of the connection input window to the max value.
af61c1ea5 is described below

commit af61c1ea5a852caeece257e7fa8295365db765fa
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Fri Jan 3 09:58:35 2025 +0100

    HTTPCORE-774: fixed a race condition caused by concurrent update of the connection input window to the max value.
    
    (cherry picked from commit d31d0000084d1ffdd37a9596b53e2aa7779451bc)
---
 .../org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java
index f6d13b841..638a55298 100644
--- a/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java
+++ b/httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java
@@ -1492,7 +1492,6 @@ public void push(final List<Header> headers, final AsyncPushProducer pushProduce
 
         @Override
         public void update(final int increment) throws IOException {
-            incrementInputCapacity(0, connInputWindow, increment);
             incrementInputCapacity(id, inputWindow, increment);
         }