Skip to content

Investigate SSLPeerUnverifiedException changes in Android 37 #9535

Description

@swankjesse

We changed some tests in #9515 in reaction to SSLPeerUnverifiedException being a cause and not the thrown exception.

This behavior change could impact other parts of OkHttp:

  • SSLSession.handshake() catches SSLPeerUnverifiedException
  • RealConnection.isEligible catches SSLPeerUnverifiedException
  • RetryAndFollowUpInterceptor.isRecoverable() returns false on SSLPeerUnverifiedException
  • retryTlsHandshake() returns false on SSLPeerUnverifiedException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions