mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
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
This commit is contained in:
parent
812da4190f
commit
a18a2ba0bb
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user