From: Daniel Stenberg Date: Wed, 30 Jan 2002 15:11:47 +0000 (+0000) Subject: Georg Horn found yet another SSL reading problem caused by the non-blocks. X-Git-Tag: curl-7_9_4~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b28051881e2bfbdde3f9c7da62122bc389713b80;p=thirdparty%2Fcurl.git Georg Horn found yet another SSL reading problem caused by the non-blocks. This was a real bummer! --- diff --git a/lib/sendf.c b/lib/sendf.c index cf7e67d866..7c4c72831e 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(0); + } while(1); if(loop && SSL_pending(conn->ssl.handle)) return -1; /* basicly EWOULDBLOCK */ }