This is an automated email from the ASF dual-hosted git repository. reta pushed a commit to branch 3.6.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 99d4d283cc76d3bd053344f4cdcfb9ab355a1be0 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
