Commit a18a2ba0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 812da419
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 "