projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04da96e
)
Clarence Gardner pointed out the not-taken-care-of return codes from SSL_read
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 2 Apr 2002 09:33:38 +0000
(09:33 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 2 Apr 2002 09:33:38 +0000
(09:33 +0000)
lib/sendf.c
patch
|
blob
|
history
diff --git
a/lib/sendf.c
b/lib/sendf.c
index
84fedaa
..
be03014
100644
(file)
--- 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))