mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Kevin Roth's discovered SSL download problem
This commit is contained in:
parent
5370d7a6eb
commit
ddbcccd43d
@ -310,7 +310,7 @@ int Curl_read(struct connectdata *conn,
|
|||||||
do {
|
do {
|
||||||
nread = SSL_read(conn->ssl.handle, buf, buffersize);
|
nread = SSL_read(conn->ssl.handle, buf, buffersize);
|
||||||
|
|
||||||
if(nread > 0)
|
if(nread >= 0)
|
||||||
/* successful read */
|
/* successful read */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user