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

   …t be drained
   
   After a one-way SOAP call, CXF reads and throws away any leftover response 
bytes. This is only so the HTTP connection can be reused for the next request. 
In some environments the JDK had already closed that response stream, so this 
tidy-up step threw “stream is closed”. That made the whole call fail, even 
though the request had been delivered and accepted.
   
   The fix makes the tidy-up step best-effort. If draining fails, CXF logs it 
at FINE level, still closes the stream, and lets the call succeed. HTTP error 
responses are still reported as before. The patch also adds a test that 
recreates the “stream already closed” case.


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