We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bc49d commit 38556b9Copy full SHA for 38556b9
1 file changed
Modules/_ssl.c
@@ -667,6 +667,7 @@ PySSL_SetError(PySSLSocket *sslsock, int ret, const char *filename, int lineno)
667
* zero return value to SSL_ERROR_SSL with a special error code. */
668
if (ERR_GET_LIB(e) == ERR_LIB_SSL &&
669
ERR_GET_REASON(e) == SSL_R_UNEXPECTED_EOF_WHILE_READING) {
670
+ p = PY_SSL_ERROR_EOF;
671
type = state->PySSLEOFErrorObject;
672
errstr = "EOF occurred in violation of protocol";
673
}
0 commit comments