reta commented on code in PR #2411:
URL: https://github.com/apache/cxf/pull/2411#discussion_r2096224593
##########
rt/transports/http/src/main/java/org/apache/cxf/transport/http/HttpClientHTTPConduit.java:
##########
@@ -425,6 +425,9 @@ protected void setupConnection(Message message, Address
address, HTTPClientPolic
}
}
String verc =
(String)message.getContextualProperty(FORCE_HTTP_VERSION);
+ if (verc == null && "http".equals(uri.getScheme())) {
Review Comment:
@mcarbonneaux the Apache CXF client conduit uses JDK `HttpClient` under the
hood and relies on its behavior with respect to preferred protocol selection -
which is HTTP/2 by default
(https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/java/net/http/HttpClient.html#newHttpClient())
--
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]