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

schannel: enable ALPN support under WINE 6.0+ #16393

Closed
wants to merge 11 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Feb 19, 2025

ALPN support was announced in 5.6 (2020-04-10). It likely needs a WINE
built against GnuTLS 3.2.0 (2013-05-10) or upper (for macOS, GnuTLS was
made default in WINE 6.0.2). I could confirm ALPN working under 6.0.2
(2021-10-26).

https://www.winehq.org/announce/5.6
https://gitlab.winehq.org/wine/wine/-/commit/0527cf89fb907c330bc4fad3b135a1c85208fa9e
https://gitlab.winehq.org/wine/wine/-/blob/wine-5.6/dlls/secur32/schannel_gnutls.c
https://gitlab.winehq.org/wine/wine/-/blob/wine-5.6/dlls/secur32/tests/schannel.c

If you run into problems, open and Issue and disable ALPN manually with
--no-alpn or the equivalent for libcurl.

Ref: #983

@vszakats vszakats added TLS Windows Windows-specific HTTP/2 labels Feb 19, 2025
@vszakats vszakats changed the title schannel: enable ALPN support under WINE 2.0.0+ schannel: enable ALPN support under WINE 6.0.0+ Feb 19, 2025
jay added a commit that referenced this pull request 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
@vszakats vszakats changed the title schannel: enable ALPN support under WINE 6.0.0+ schannel: enable ALPN support under WINE 6.0+ Feb 20, 2025
jay added a commit that referenced this pull request Feb 21, 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 #16400
@vszakats vszakats closed this in 7fd15b4 Feb 21, 2025
@vszakats vszakats deleted the sch-alpn-wine branch February 21, 2025 11:17
vszakats added a commit to vszakats/curl that referenced this pull request Feb 21, 2025
vszakats added a commit that referenced this pull request Feb 21, 2025
To avoid unnecessary init work with toolchains not supporting ALPN.

Follow-up to 7fd15b4 #16393
Closes #16420
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTTP/2 TLS Windows Windows-specific
Development

Successfully merging this pull request may close these issues.

2 participants