Georg Horn the previous SSL_read() fix, this was actually the fix I did
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jan 2002 21:49:29 +0000 (21:49 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jan 2002 21:49:29 +0000 (21:49 +0000)
on my test machine! :-)

lib/sendf.c

index 7c4c728..9c1ed75 100644 (file)
@@ -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 */
   }