reta commented on code in PR #3645:
URL: https://github.com/apache/cxf/pull/3645#discussion_r4407825816
##########
rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java:
##########
@@ -870,8 +870,8 @@ protected void retransmitStream() throws IOException {
protected void setupNewConnection(String newURL) throws IOException {
httpResponse = null;
- isAsync = outMessage != null && outMessage.getExchange() != null
- && !outMessage.getExchange().isSynchronous();
+ // the thread that retransmits handles the response, also for an
asynchronous exchange
Review Comment:
Should we actually pass what the value of `isAsync` should be here? The
comment refer to retransmits but for normal execution checking
`outMessage.getExchange().isSynchronous()` sounds right?
--
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]