-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use DI for HttpClient.Builder #1250
Conversation
f5673aa
to
628643d
Compare
@sunkup Sorry I couldn't make it shorter ^^ Can you have a look? |
app/src/main/kotlin/at/bitfire/davdroid/network/HttpClient.kt
Dismissed
Show dismissed
Hide dismissed
628643d
to
18c3514
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right this is a lot to review. Not sure whether I missed something, but at a glance all files look good to me. I don't really know enough about certificates to understand the extraction of
ClientCertKeyManager.kt
, but that seems to work ok as well.
I restarted the CI tests, since they were aborted but seems like they are getting stuck at some point (testDoQueryChildren_updateTwoParentsSimultaneous
?), run forever and then are aborted? Locally that test fails as well, but I can't make out why.
… TLS 1.0 and 1.1)
I'll have a look |
HttpClient.Builder
was a bit unclean and didn't use DI.This PR attempts to bring
HttpClient.Builder
to the current architecture pattern.Also it removes support for the deprecated TLS 1.0 and 1.1 (#1249).