diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-02 09:33:38 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-02 09:33:38 +0000 |
commit | 547e91dbf0ff74c16aa48c5917f2bfc4117d7008 (patch) | |
tree | ecf2997ad364d49c018cfd086b7e19e744b648fe /lib | |
parent | 04da96e044425424cc26f670195f0b8474bb6da5 (diff) |
Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sendf.c | 3 |
1 files changed, 3 insertions, 0 deletions
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)) |