Skip to content

Commit 6f8224e

Browse files
authored
Respect the AsyncRequestProducer contract by properly implementing available() method (#3235)
* Respect the AsyncRequestProducer contract by properly implementing available() method * Address code review comments
1 parent 316973a commit 6f8224e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rt/transports/http-hc5/src/main/java/org/apache/cxf/transport/http/asyncclient/hc5/CXFHttpAsyncRequestProducer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private void resetRequest() {
9494

9595
@Override
9696
public int available() {
97-
return 0;
97+
return Integer.MAX_VALUE;
9898
}
9999

100100
@Override

0 commit comments

Comments
 (0)