Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cf-socket: deduplicate Windows Vista detection #16400

Closed
wants to merge 1 commit into from

Conversation

jay
Copy link
Member

@jay jay commented Feb 19, 2025

  • Remove Vista detection logic from Curl_sndbuf_init and evaluate global init variable Curl_isVistaOrGreater instead.

This way we don't need a separate initialization in Curl_sndbuf_init.

Ref: #16393 (comment)

Closes #xxxx

- Remove Vista detection logic from Curl_sndbuf_init and evaluate global
  init variable Curl_isVistaOrGreater instead.

This way we don't need a separate initialization in Curl_sndbuf_init.

Ref: curl#16393 (comment)

Closes #xxxx
vszakats added a commit to vszakats/curl that referenced this pull request Feb 20, 2025
@jay jay closed this in 46e97b1 Feb 21, 2025
@jay jay deleted the tidy_up_vista_detect branch February 21, 2025 08:15
vszakats added a commit that referenced this pull request Feb 21, 2025
curl detects Vista as part of its global initialization. Use that result
instead of detecting it again in Schannel, to save some cycles and API
calls.

Follow-up to 46e97b1 #16400
Closes #16408
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