]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
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 cf7e67d86687676296594054307c7266cc36f8df..7c4c72831ed7c692e446f4c4fedfd2b70e48b702 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 */
   }