Skip to content

Commit

Permalink
Revert: disableCookieManagement (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsladek authored Jan 20, 2022
1 parent f4c8f65 commit 2b0b799
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public static CloseableHttpClient createHttpClient() {
.setDefaultRequestConfig(requestConfig())
.setRetryHandler(new HttpRequestRetryHandler())
.setKeepAliveStrategy(createKeepAliveStrategy(30))
.disableCookieManagement()
.build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ private AbstractJerseyRestClient(Invoker invoker, Set<? extends ClientRequestFil
.uriMapper(new JerseyUriMapper())
.tags(List.of(Tag.of("client", getClass().getSimpleName())))
.build())
.setConnectionManager(connectionManager())
.disableCookieManagement();
.setConnectionManager(connectionManager());
});
utvidMedHistogram(HTTPCOMPONENTS_HTTPCLIENT_REQUEST);
filters.stream().forEach(cfg::register);
Expand Down

0 comments on commit 2b0b799

Please sign in to comment.