From: Daniel Stenberg Date: Tue, 2 Apr 2002 09:33:38 +0000 (+0000) Subject: Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read X-Git-Tag: curl-7_9_6~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=547e91dbf0ff74c16aa48c5917f2bfc4117d7008;p=curl Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read --- diff --git a/lib/sendf.c b/lib/sendf.c index 84fedaac1..be030142d 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -347,6 +347,9 @@ int Curl_read(struct connectdata *conn, case SSL_ERROR_WANT_WRITE: /* if there's data pending, then we re-invoke SSL_read() */ break; + default: + failf(conn->data, "SSL read error: %d", err); + return CURLE_READ_ERROR; } } while(loop); if(loop && SSL_pending(conn->ssl.handle))