ffang commented on code in PR #3514:
URL: https://github.com/apache/cxf/pull/3514#discussion_r4124744639


##########
rt/transports/http/src/main/java/org/apache/cxf/transport/http/HttpClientHTTPConduit.java:
##########
@@ -1064,6 +1074,9 @@ public CompletableFuture<HttpResponse<InputStream>> run() 
throws IOException {
                 future = cl.sendAsync(request, handler);
             }
             future.exceptionally(ex -> {
+                // Record the failure so the re-entrant close() call below 
(see the

Review Comment:
   Hi @reta ,
   
   This is a good suggestion, thanks!
   
   We'd reuse the boolean exceptionSet check in WrappedOutputStream.close(). I 
will send another commit accordingly.
   
   Freeman



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