1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/lib/vtls
Andrew Kurushin c35af29222 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
2020-04-12 18:32:17 -04:00
..
bearssl.c bearssl: remove the BACKEND define kludge 2020-03-19 13:22:34 +01:00
bearssl.h TLS: add BearSSL vtls implementation 2019-11-26 08:32:23 +01:00
gskit.c gskit: update the copyright year range 2020-03-15 23:43:50 +01:00
gskit.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
gtls.c gnutls: ensure TLS 1.3 when SRP isn't requested 2020-04-13 00:06:02 +02:00
gtls.h
mbedtls_threadlock.c polarssl: removed 2020-01-16 11:55:56 +01:00
mbedtls_threadlock.h polarssl: removed 2020-01-16 11:55:56 +01:00
mbedtls.c mbedtls: remove the BACKEND define kludge 2020-03-19 13:22:35 +01:00
mbedtls.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
mesalink.c vtls: fix narrowing conversion warnings 2019-09-23 09:44:35 +02:00
mesalink.h
nss.c nss: remove the BACKEND define kludge 2020-03-19 13:22:34 +01:00
nssg.h
openssl.c cleanup: insert newline after if() conditions 2020-03-30 16:05:30 +02:00
openssl.h
schannel_verify.c schannel: add "best effort" revocation check option 2020-03-18 03:23:39 -04:00
schannel.c schannel: Fix blocking timeout logic 2020-04-12 18:32:17 -04:00
schannel.h
sectransp.c secure transport: remove the BACKEND define kludge 2020-03-19 13:22:46 +01:00
sectransp.h
vtls.c vtls: free ssl_config leftovers on out-of-memory 2020-03-16 08:10:30 +01:00
vtls.h version: make curl_version* thread-safe without using global context 2020-03-07 12:10:11 +01:00
wolfssl.c wolfssl: remove the BACKEND define kludge 2020-03-19 13:22:34 +01:00
wolfssl.h