Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Dec 16, 2025

Define TCP_KEEP* macros if they are missing in Windows builds.
To allow using these runtime setsockopt() options regardless of
build-time SDK version, when running on Windows 10.0.16299+.

In practice in enables them for builds using mingw-w64 <12, and
MSVC with Windows SDK <10.

Before this patch these runtime options required building curl with
a recent toolchain.

Follow-up to f0de141 #19559

@vszakats vszakats closed this in 627e32f Dec 16, 2025
@vszakats vszakats deleted the tcpkeep-oldwinsdk branch December 16, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants