mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:11:45 +03:00
sectransp: add support for HTTP/2 in gcc builds
Before this patch `--http2` did not work in gcc builds with Secure Transport, because ALPN relied on a compiler supporting the `HAVE_BUILTIN_AVAILABLE` aka `__builtin_available()` feature. This is clang-specific and missing from gcc (as of gcc v14). Add support for ALPN and HTTP/2 when this compiler feature is missing. Also drop test exceptions from GHA/macos in CI. Follow-up to092f6815c8Ref:c349bd668c#14097 (issue 15.) Ref: #4314 Closes #16581
This commit is contained in:
parent
9463769f2e
commit
2d94439eaa
2 changed files with 8 additions and 10 deletions
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
|
@ -314,12 +314,6 @@ jobs:
|
|||
export TFLAGS='-j20 ${{ matrix.build.tflags }}'
|
||||
if [ -z '${{ matrix.build.torture }}' ]; then
|
||||
TFLAGS+=' ~2037 ~2041' # flaky
|
||||
if [[ '${{ matrix.compiler }}' = 'gcc'* ]]; then
|
||||
if [[ '${{ matrix.build.configure }}' = *'--with-secure-transport'* || \
|
||||
'${{ matrix.build.generate }}' = *'-DCURL_USE_SECTRANSP=ON'* ]]; then
|
||||
TFLAGS+=' ~HTTP/2' # 2400 2401 2402 2403 2404 2406, Secure Transport + nghttp2
|
||||
fi
|
||||
fi
|
||||
if [[ '${{ matrix.build.configure }}' = *'--with-secure-transport'* || \
|
||||
'${{ matrix.build.generate }}' = *'-DCURL_USE_SECTRANSP=ON'* ]]; then
|
||||
TFLAGS+=' ~313' # Secure Transport does not support crl file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue