reta commented on code in PR #3697:
URL: https://github.com/apache/cxf/pull/3697#discussion_r4519162686


##########
rt/transports/http-hc5/src/main/java/org/apache/cxf/transport/http/asyncclient/hc5/SharedInputBuffer.java:
##########
@@ -100,7 +100,7 @@ public int consumeContent(final ByteBuffer buffer, boolean 
last) throws IOExcept
             // the reader signals suspendInput, once it has drained the buffer
             this.condition.signalAll();
 
-            if (!buffer().hasRemaining() && !this.endOfStream) {
+            if (!buffer().hasRemaining() && !this.endOfStream && 
!this.shutdown) {

Review Comment:
   Not strictly related, but closing some gaps when buffer may continue to 
consume post- end stream / shutdown



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

Reply via email to