From: Daniel Stenberg Date: Wed, 30 Jan 2002 21:49:29 +0000 (+0000) Subject: Georg Horn the previous SSL_read() fix, this was actually the fix I did X-Git-Tag: curl-7_9_4~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=907a6e0eed3c6f1a7350cd5f866ccb3a7d0a8ee4;p=thirdparty%2Fcurl.git Georg Horn the previous SSL_read() fix, this was actually the fix I did on my test machine! :-) --- diff --git a/lib/sendf.c b/lib/sendf.c index 7c4c72831e..9c1ed759ab 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -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 */ }