reta opened a new pull request, #2792:
URL: https://github.com/apache/cxf/pull/2792

   The InputStream::available() was always known to be "best effort" and it is 
in case of jdk.internal.net.http.ResponseSubscribers.HttpResponseInputStream. 
CXF has no knowledge if the response will come any time soon or is empty (so we 
could not really wait / block here).
   
   Considering the options, probably the only way we could make sure the 
response stream is really empty is to try to issue InputStream::read which may 
block.


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