Skip to content

Introduce HandshakeError::code - #31

Merged
inikulin merged 1 commit into
cloudflare:masterfrom
nox:unexpected-eof
Apr 16, 2021
Merged

Introduce HandshakeError::code#31
inikulin merged 1 commit into
cloudflare:masterfrom
nox:unexpected-eof

Conversation

@nox

@noxnox commented Apr 16, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@nox

nox commented Apr 16, 2021

Copy link
Copy Markdown
ContributorAuthor

Oh, that doesn't work as I expected it to. I wonder if we should special case those specific errors during handshake only then.

@noxnox changed the title Generate UnexpectedEof error if BIO layer returned no errorIntroduce HandshakeError::codeApr 16, 2021
@nox

nox commented Apr 16, 2021

Copy link
Copy Markdown
ContributorAuthor

I've repurposed the PR to be about exposing the handshake error's code so that we can inspect it on our own from where we consume the damn handshake error.

@inikulin
inikulin merged commit 61e69eb into cloudflare:masterApr 16, 2021
@nox
nox deleted the unexpected-eof branch April 16, 2021 10:59
Sign up for freeto 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.

2 participants

@nox@inikulin