reta commented on pull request #782:
URL: https://github.com/apache/cxf/pull/782#issuecomment-830677003


   > I wonder if we wrapped the input stream instead of returning null and had 
the wrapper count the bytes read. We could check the count on an exception and 
use that to determine our blocking read returned no payload.
   
   Thought about that as well but dealing with exceptions and counting the 
bytes would be more complicated comparing to the simple check that stream is 
empty. 
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to