funky-eyes commented on code in PR #7492:
URL: https://github.com/apache/incubator-seata/pull/7492#discussion_r2234002689
##########
common/pom.xml:
##########
@@ -48,6 +48,10 @@
<artifactId>httpclient</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents.client5</groupId>
Review Comment:
I think we can start by submitting a utility class fully implemented with
HttpClient5 and add support for HTTP/2 in it. Then, we can mark the HttpClient4
version of the utility class as deprecated. Next, we can publish some community
tasks, such as detecting whether there is an existing dependency on
HttpClient5. If it exists, use version 5; if not, fall back to version 4. In
this case, output a warning log to notify users that HttpClient4 will soon be
removed.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]