1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Kevin Roth's discovered SSL download problem

This commit is contained in:
Daniel Stenberg 2002-02-05 15:33:00 +00:00
parent 5370d7a6eb
commit ddbcccd43d

View File

@ -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;