Skip to content

Okhttp 4.4.x - #3

Open
muse-tester-lang wants to merge 6 commits into
masterfrom
okhttp_4.4.x
Open

Okhttp 4.4.x#3
muse-tester-lang wants to merge 6 commits into
masterfrom
okhttp_4.4.x

Conversation

@muse-tester-lang

Copy link
Copy Markdown
Owner

No description provided.

yschimke and others added 6 commits March 7, 2020 07:23
…dev#5835)

* Allow for users who have disabled certificate checks in dev.

* Avoid repeated calls

* typo

* Lock is assumed at this point

* Stay safe

* rework

* spotless

* Fix

* Handle one more case

* Capture the exception

* Add test

* Comment
Allow for users who have disabled certificate checks in dev. (4.4.x branch)
…(4.4.x)

We attempt to minimize connection and reconnection work, but in this case we
were overly aggressive about retaining the same connection. In some deployments
services will share certificates but not DNS addresses; when redirecting
between such services we were incorrectly attempting to reuse the connection.

This would have resulted in 404s and other misdirected requests.

Closes: lysine-dev#5859
…ssive_

Don't reuse a connection on redirect if certs match but DNS does not (4.4.x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants