]> git.ipfire.org Git - thirdparty/curl.git/commit
curl_ngtcp2: extend callback tables for nghttp3 1.11.0 and ngtcp2 1.14.0
authorViktor Szakats <commit@vsz.me>
Fri, 25 Jul 2025 14:40:26 +0000 (16:40 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 25 Jul 2025 15:39:58 +0000 (17:39 +0200)
commit1055144063ca5f8c67ae6b7d727f76c9bdad88ba
tree93f02071b59169c2e4da3e307b063b0db1bfdf35
parent4d977fe55200a491da447c40fc7b426ba343c2b7
curl_ngtcp2: extend callback tables for nghttp3 1.11.0 and ngtcp2 1.14.0

An emergency update to initialize callbacks to NULL.

May need further updates, e.g. to provide the recommended random
generator callback for nghttp3.

Fixing potential crashes at runtime in curl-for-win 8.15.0_3, and these
build warnings:
```
/home/appveyor/projects/curl-for-win/curl/lib/vquic/curl_ngtcp2.c:836:1:
warning: missing field 'begin_path_validation' initializer [-Wmissing-field-initializers]
  836 | };
      | ^
/home/appveyor/projects/curl-for-win/curl/lib/vquic/curl_ngtcp2.c:1186:1:
warning: missing field 'recv_origin' initializer [-Wmissing-field-initializers]
 1186 | };
      | ^
2 warnings generated.
```
Ref: https://ci.appveyor.com/project/curlorg/curl-for-win/builds/52462852#L14821

Also causing all `GHA/curl-for-win` jobs to fail:
https://github.com/curl/curl/actions/runs/16523625082?pr=18010

Ref: https://github.com/ngtcp2/nghttp3/releases/tag/v1.11.0
Ref: https://github.com/ngtcp2/ngtcp2/releases/tag/v1.14.0
Ref: https://github.com/curl/curl-for-win/commit/ff788c81e44f998d0d41f362d442a7e97cc0fd46

Closes #18019
lib/vquic/curl_ngtcp2.c