mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -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 {
|
||||
nread = SSL_read(conn->ssl.handle, buf, buffersize);
|
||||
|
||||
if(nread > 0)
|
||||
if(nread >= 0)
|
||||
/* successful read */
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user