Georg Horn found yet another SSL reading problem caused by the non-blocks.
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jan 2002 15:11:47 +0000 (15:11 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jan 2002 15:11:47 +0000 (15:11 +0000)
This was a real bummer!

lib/sendf.c

index cf7e67d..7c4c728 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(0);
+    } while(1);
     if(loop && SSL_pending(conn->ssl.handle))
       return -1; /* basicly EWOULDBLOCK */
   }