Skip to content
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

Wrap renegotiation failures with HandshakeFailed #237

Merged
merged 1 commit into from
Jun 26, 2017
Merged

Wrap renegotiation failures with HandshakeFailed #237

merged 1 commit into from
Jun 26, 2017

Conversation

ocheron
Copy link
Contributor

@ocheron ocheron commented Jun 25, 2017

In snoyberg/http-client#273 was reported a new case where tls external API throws TLSError directly instead of wrapping the value in TLSException (failure seen when connecting to https://paste.debian.net with tls-1.3.9).

This PR applies the same error handling when renegotiation handshake is triggered locally or remotely.

@kazu-yamamoto kazu-yamamoto self-requested a review June 26, 2017 01:06
Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kazu-yamamoto kazu-yamamoto merged commit 4f00e5d into haskell-tls:master Jun 26, 2017
kazu-yamamoto added a commit that referenced this pull request Jun 26, 2017
@kazu-yamamoto
Copy link
Collaborator

Merged.

@ocheron ocheron deleted the renegotiation-exceptions branch June 26, 2017 17:28
ocheron added a commit that referenced this pull request Jun 29, 2017
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.

None yet

2 participants