diff options
author | Andrew Kurushin <ajax16384@gmail.com> | 2020-04-12 13:07:51 +0300 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-04-12 18:32:17 -0400 |
commit | c35af292227a0e89ef3362d34959dc75ea98fd92 (patch) | |
tree | 5eafff644f38442d14223a64435cdc3e2bbd260d /lib/vtls/mesalink.c | |
parent | 0510cce8c090920f063b85a36669d8e74cff8d52 (diff) |
schannel: Fix blocking timeout logic
- Fix schannel_send for the case when no timeout was set.
Prior to this change schannel would error if the socket was not ready
to send data and no timeout was set.
This commit is similar to parent commit 89dc6e0 which recently made the
same change for SOCKS, for the same reason. Basically it was not well
understood that when Curl_timeleft returns 0 it is not a timeout of 0 ms
but actually means no timeout.
Fixes https://github.com/curl/curl/issues/5177
Closes https://github.com/curl/curl/pull/5221
Diffstat (limited to 'lib/vtls/mesalink.c')
0 files changed, 0 insertions, 0 deletions