gortiz commented on code in PR #10487:
URL: https://github.com/apache/pinot/pull/10487#discussion_r1155085289
##########
pinot-common/src/main/java/org/apache/pinot/common/utils/http/HttpClient.java:
##########
@@ -86,22 +87,23 @@ public class HttpClient implements AutoCloseable {
private final CloseableHttpClient _httpClient;
public HttpClient() {
- this(null);
+ this(HttpClientConfig.DEFAULT_HTTP_CLIENT_CONFIG, null);
}
- public HttpClient(@Nullable SSLContext sslContext) {
+ public HttpClient(HttpClientConfig httpClientConfig, @Nullable SSLContext
sslContext) {
Review Comment:
This is a change that breaks backward compatibility. We should add another
constructor with only `SSLContext` as parameter
--
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]