aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-05-05 00:07:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-05-05 00:10:37 +0200
commita18a2ba0bb5358513a095dbe87df18d8d5c3f7d8 (patch)
treeb64aeecf4a80bdf223abc7e9134892a825edebf6
parent812da4190f8ac2f548f3bea09b85164b78d33347 (diff)
schannel: don't use the connect-timeout during send
As there's a default connection timeout and this wrongly used the connection timeout during a transfer after the connection is completed, this function would trigger timeouts during transfers erroneously. Bug: http://curl.haxx.se/bug/view.cgi?id=1352 Figured-out-by: Radu Simionescu
-rw-r--r--lib/vtls/curl_schannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/curl_schannel.c b/lib/vtls/curl_schannel.c
index 575b69354..64e79e141 100644
--- a/lib/vtls/curl_schannel.c
+++ b/lib/vtls/curl_schannel.c
@@ -765,7 +765,7 @@ schannel_send(struct connectdata *conn, int sockindex,
this_write = 0;
- timeleft = Curl_timeleft(conn->data, NULL, TRUE);
+ timeleft = Curl_timeleft(conn->data, NULL, FALSE);
if(timeleft < 0) {
/* we already got the timeout */
failf(conn->data, "schannel: timed out sending data "