Skip to content

rustls: improve error messages#10463

Closed
jsha wants to merge 1 commit into
curl:masterfrom
jsha:better-rustls-errors
Closed

rustls: improve error messages#10463
jsha wants to merge 1 commit into
curl:masterfrom
jsha:better-rustls-errors

Conversation

@jsha
Copy link
Copy Markdown
Contributor

@jsha jsha commented Feb 10, 2023

Changes numeric error codes into verbose error codes in two places. Adds a prefix indicating that the error came from rustls, and in some places which function it came from.

Adds special handling for RUSTLS_RESULT_UNEXPECTED_EOF, since the default message of "Unexpected EOF" is insufficiently explanatory.

Changes numeric error codes into verbose error codes in two places.
Adds a prefix indicating that the error came from rustls, and in some
places which function it came from.

Adds special handling for RUSTLS_RESULT_UNEXPECTED_EOF, since the
default message of "Unexpected EOF" is insufficiently explanatory.
@jsha jsha force-pushed the better-rustls-errors branch from c77517d to e077a9f Compare February 10, 2023 01:22
@bagder bagder closed this in 38262c9 Feb 11, 2023
@bagder
Copy link
Copy Markdown
Member

bagder commented Feb 11, 2023

Thanks!

bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
Changes numeric error codes into verbose error codes in two places.
Adds a prefix indicating that the error came from rustls, and in some
places which function it came from.

Adds special handling for RUSTLS_RESULT_UNEXPECTED_EOF, since the
default message of "Unexpected EOF" is insufficiently explanatory.

Closes curl#10463
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants