This is an automated email from the ASF dual-hosted git repository. reta pushed a commit to branch 4.1.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 1e862d57c39367eb9a1970548320cbb2ec0f6a09 Author: Andriy Redko <[email protected]> AuthorDate: Mon Jun 29 09:25:25 2026 -0400 Respect the AsyncRequestProducer contract by properly implementing available() method (#3235) * Respect the AsyncRequestProducer contract by properly implementing available() method * Address code review comments (cherry picked from commit 6f8224e23d5e1b18bed17e4d7a24522849fb6823) --- .../cxf/transport/http/asyncclient/hc5/CXFHttpAsyncRequestProducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rt/transports/http-hc5/src/main/java/org/apache/cxf/transport/http/asyncclient/hc5/CXFHttpAsyncRequestProducer.java b/rt/transports/http-hc5/src/main/java/org/apache/cxf/transport/http/asyncclient/hc5/CXFHttpAsyncRequestProducer.java index 896dcfd68c4..83eed5276e9 100644 --- a/rt/transports/http-hc5/src/main/java/org/apache/cxf/transport/http/asyncclient/hc5/CXFHttpAsyncRequestProducer.java +++ b/rt/transports/http-hc5/src/main/java/org/apache/cxf/transport/http/asyncclient/hc5/CXFHttpAsyncRequestProducer.java @@ -94,7 +94,7 @@ public class CXFHttpAsyncRequestProducer implements AsyncRequestProducer { @Override public int available() { - return 0; + return Integer.MAX_VALUE; } @Override
