From 547e91dbf0ff74c16aa48c5917f2bfc4117d7008 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 2 Apr 2002 09:33:38 +0000 Subject: Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read --- lib/sendf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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)) -- cgit v1.2.3