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

Georg Horn the previous SSL_read() fix, this was actually the fix I did

on my test machine! :-)
This commit is contained in:
Daniel Stenberg 2002-01-30 21:49:29 +00:00
parent d20186a7b8
commit 907a6e0eed

View File

@ -326,7 +326,7 @@ int Curl_read(struct connectdata *conn,
/* if there's data pending, then we re-invoke SSL_read() */
break;
}
} while(1);
} while(loop);
if(loop && SSL_pending(conn->ssl.handle))
return -1; /* basicly EWOULDBLOCK */
}