aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-30 15:11:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-30 15:11:47 +0000
commitb28051881e2bfbdde3f9c7da62122bc389713b80 (patch)
treec88bd76c1018d42ad9b8cc2fdbc1a504fcaa69c3 /lib/sendf.c
parentbdea56cd3ffcb76cea2fc85490d5bdfaa7a01ca8 (diff)
Georg Horn found yet another SSL reading problem caused by the non-blocks.
This was a real bummer!
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
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 */
}