From 907a6e0eed3c6f1a7350cd5f866ccb3a7d0a8ee4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 30 Jan 2002 21:49:29 +0000 Subject: Georg Horn the previous SSL_read() fix, this was actually the fix I did on my test machine! :-) --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sendf.c') diff --git a/lib/sendf.c b/lib/sendf.c index 7c4c72831..9c1ed759a 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 */ } -- cgit v1.2.3