Repository navigation
Switch to httpclient5 - #145
Open
BertScholten wants to merge 3 commits into
Open
BertScholten wants to merge 3 commits into
BertScholten wants to merge 3 commits into
Conversation
Moved the dependency from taskamanger-client (which didn't seem to use it) to taskmanager itself (which uses it for the rabbitmq monitor).
Works slightly different in httpclient5 it seems. The authcache is still there, but it doesn't register properly. This is based on https://github.com/apache/httpcomponents-client/blob/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientPreemptiveBasicAuthentication.java. Guess this is slightly less secure if taskmanager doesn't use internal network? As in, it could send the credentials over, even if not asked for it?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
httpclient5 is managed by
spring-boot-dependenciesfrom the root-pom, so this saves us maintaining it. Also no longer using it as a dependency in the client library, as it doesn't use it for anything at the moment.