diff --git a/lib/sendf.c b/lib/sendf.c index cf7e67d86687676296594054307c7266cc36f8df..7c4c72831ed7c692e446f4c4fedfd2b70e48b702 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 */ }