mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:13:34 +03:00
windows: update MS SDK versions in comments
To make them more accurate. Also: - show Visual Studio version, where missing. - ease the formatting. - schannel_int.h: clang-tidy fallback code. Used: `rg -l --sort=path CERT_FIND_HAS_PRIVATE_KEY` Closes #21621
This commit is contained in:
parent
ef068fc8b7
commit
976eb1d50d
8 changed files with 50 additions and 48 deletions
|
|
@ -132,14 +132,15 @@ static void tcpkeepalive(struct Curl_cfilter *cf,
|
|||
VERSION_GREATER_THAN_EQUAL)) {
|
||||
CURL_TRC_CF(data, cf, "Set TCP_KEEP* on fd=%" FMT_SOCKET_T, sockfd);
|
||||
optval = curlx_sltosi(data->set.tcp_keepidle);
|
||||
/* Offered by mingw-w64 v12+. MS SDK 6.0A+. */
|
||||
/* Offered by mingw-w64 v12+, MS SDK 6.0A/VS2008+ */
|
||||
#ifndef TCP_KEEPALIVE
|
||||
#define TCP_KEEPALIVE 3
|
||||
#endif
|
||||
/* Offered by mingw-w64 v12+. MS SDK ~10+/~VS2017+. */
|
||||
/* Offered by mingw-w64 v12+, MS SDK 10.0.15063.0/VS2017 15.1+ */
|
||||
#ifndef TCP_KEEPCNT
|
||||
#define TCP_KEEPCNT 16
|
||||
#endif
|
||||
/* Offered by mingw-w64 v12+, MS SDK 10.0.16299.0/VS2017 15.4+ */
|
||||
#ifndef TCP_KEEPIDLE
|
||||
#define TCP_KEEPIDLE TCP_KEEPALIVE
|
||||
#endif
|
||||
|
|
@ -1369,7 +1370,7 @@ static CURLcode cf_socket_adjust_pollset(struct Curl_cfilter *cf,
|
|||
|
||||
#ifdef USE_WINSOCK
|
||||
|
||||
/* Offered by mingw-w64 v13+. MS SDK 7.0A+. */
|
||||
/* Offered by mingw-w64 v13+, MS SDK 7.0A/VS2010+ */
|
||||
#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY
|
||||
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747B
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue