From b28051881e2bfbdde3f9c7da62122bc389713b80 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 30 Jan 2002 15:11:47 +0000 Subject: Georg Horn found yet another SSL reading problem caused by the non-blocks. This was a real bummer! --- lib/sendf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sendf.c b/lib/sendf.c index cf7e67d86..7c4c72831 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 */ } -- cgit v1.2.3