forked from redpanda-data/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls/ossl: Added new error codes to TLS api
Added a number of error codes to report different connection error conditions encountered with OpenSSL: * ERROR_WRONG_VERSION_NUMBER - this error is reported when an invalid version number is encountered (this is distinctive to an unsupported version number). This error routinely occurs when attempting to connect to a TLS enabled endpoint using a non-TLS connection * ERROR_HTTP_REQUEST - Similar to ERROR_WRONG_VERSION_NUMBER, however this will be reported if the start of the packet begins with an HTTP verb such as GET or POST * ERROR_HTTPS_PROXY_REQUEST - Similar to the above but the verb encountered starts with 'CONNE' Added method that can be used to override the OpenSSL message with one that may be more helpful to users. Signed-off-by: Michael Boquard <[email protected]>
- Loading branch information
1 parent
bb1c5fd
commit c9352b7
Showing
3 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters