Repository navigation
chore: bump curl-for-windows to nghttp2 1.71.0 - #120
Merged
Merged
Conversation
This was referenced Nov 16, 2026
ZxBing0066
force-pushed
the
ci/verify-nghttp2-1.71.0
branch
from
November 18, 2026 03:27
cb62a0e to
ac64b99
Compare
ZxBing0066
marked this pull request as ready for review
November 18, 2026 03:27
### Background The vendored nghttp2 behind the Windows binaries is 1.47.0 (2021). Aikido reports five vulnerabilities for it (INS-4174) plus AIKIDO-2026-10423 (INS-4179), all fixed above 1.69.0. ### Changes - `deps/curl-for-windows`: `8a4b21b5` → `200f5125`, which vendors nghttp2 1.71.0 and drops the unused c-ares tree (Kong/curl-for-windows#4). - `scripts/retrieve-win-deps.js`: drops `cares/cares.gyp` from the hard-coded gyp rewrite list. c-ares has been disabled since JCMais#280 and the file no longer exists, so the script aborted with `ENOENT` and gyp failed before configuration on Windows. ### Verification Windows builds of the pinned commit compiled the 1.71.0-only sources (`nghttp2_alpn.c`, `nghttp2_extpri.c`, `nghttp2_ratelim.c`, `nghttp2_time.c`, `sfparse.c`) on x64 and arm64, the addon loaded, and its tests passed (`nodejs` and `electron` jobs, both architectures). The binaries in that build report `libcurl/7.86.0-DEV OpenSSL/3.5.9 zlib/1.2.13 brotli/1.0.9 WinIDN libssh2/1.9.0_DEV nghttp2/1.71.0`. References: INS-4174, INS-4179
ZxBing0066
force-pushed
the
ci/verify-nghttp2-1.71.0
branch
from
November 18, 2026 03:28
ac64b99 to
54f1917
Compare
CurryYangxx
approved these changes
Nov 18, 2026
Ships the nghttp2 1.71.0 bump. Version bump lives here so the release needs one merge instead of two.
ZxBing0066
enabled auto-merge (squash)
November 18, 2026 03:57
ZxBing0066
added a commit
to Kong/insomnia
that referenced
this pull request
Nov 18, 2026
### Background The Windows binaries shipped in `@getinsomnia/node-libcurl` 3.3.0 link nghttp2 1.47.0 (2021) and OpenSSL 3.0.7 (end-of-life). Aikido reports five nghttp2 vulnerabilities plus AIKIDO-2026-10423 for that version, and the OpenSSL 3.0 series stopped receiving fixes in September 2026. Version 3.3.2 ships nghttp2 1.71.0 and OpenSSL 3.5.9. ### Changes - `@getinsomnia/node-libcurl` bumped from 3.3.0 to 3.3.2 in the root workspace, `packages/insomnia` and `packages/insomnia-data`; the `allowScripts` entry follows the version. - Smoke server: new HTTP/2-only listener on port 4012 (`allowHTTP1: false`) that echoes the negotiated protocol, plus `http2.test.ts`, which asserts `200 OK` and `"httpVersion": "2.0"`. - Specs whose behaviour depends on the native binding are tagged `@libcurl` (`http2`, `mtls`, `ipv6`) and run on Windows through a new `test-windows` job. It is a separate job rather than another `test` matrix axis, so the existing Linux shard check names stay `test (1, 6)` … `test (6, 6)`. - Smoke server resolves `git-receive-pack` and `git-upload-pack` via `git --exec-path`; they are not on PATH on Windows, which broke every `git-*` spec there. ### Verification - `npm ci` installs 3.3.2 and downloads `v3.3.2/node_libcurl-v3.3.2-electron-v43.2-<platform>.tar.gz`; `npm run type-check` passes. - Windows E2E against the 1.71.0 binary: three `@libcurl` specs pass (`http2`, `ipv6`, `mtls`). - Release assets for `win32-x64` (node and electron) contain nghttp2 1.71.0, no 1.47.0, and OpenSSL 3.5.9. - `curl --http2` returns `httpVersion: 2.0` against the new endpoint while `curl --http1.1` is rejected, so the assertion cannot pass on a fallback. - `git-*` specs pass locally with the `--exec-path` resolution. ### References - INS-4174, INS-4179 - Kong/node-libcurl#120, Kong/curl-for-windows#4
ZxBing0066
added a commit
to Kong/insomnia
that referenced
this pull request
Nov 18, 2026
### Background 3.3.0 ships Windows binaries that link nghttp2 1.47.0 and the end-of-life OpenSSL 3.0.7. Aikido reports five nghttp2 vulnerabilities plus AIKIDO-2026-10423, and OpenSSL 3.0 stopped receiving fixes in September 2026. 3.3.2 ships nghttp2 1.71.0 and OpenSSL 3.5.9. ### Changes - `@getinsomnia/node-libcurl` 3.3.0 → 3.3.2 in the root workspace, `packages/insomnia` and `packages/insomnia-data`; `allowScripts` follows. - Smoke server: HTTP/2-only listener on 4012 (`allowHTTP1: false`) echoing the negotiated protocol; `http2.test.ts` asserts `200 OK` and `"httpVersion": "2.0"`. - Binding-dependent specs tagged `@libcurl` (`http2`, `mtls`, `ipv6`) run on Windows in a new `test-windows` job; a separate job keeps the Linux shard check names `test (1, 6)` … `test (6, 6)` unchanged. - Smoke server resolves `git-receive-pack` / `git-upload-pack` via `git --exec-path`; they are not on PATH on Windows, which broke `git-*` specs. `npm ci` installs 3.3.2 and downloads the v3.3.2 asset, `type-check` passes, the three `@libcurl` specs pass on Windows, and the `win32-x64` assets contain nghttp2 1.71.0 and OpenSSL 3.5.9. ### References - INS-4174, INS-4179 - Kong/node-libcurl#120, Kong/curl-for-windows#4
ZxBing0066
added a commit
to Kong/insomnia
that referenced
this pull request
Nov 18, 2026
### Background 3.3.0 ships Windows binaries that link nghttp2 1.47.0 and the end-of-life OpenSSL 3.0.7. Aikido reports five nghttp2 vulnerabilities plus AIKIDO-2026-10423, and OpenSSL 3.0 stopped receiving fixes in September 2026. 3.3.2 ships nghttp2 1.71.0 and OpenSSL 3.5.9. ### Changes - `@getinsomnia/node-libcurl` 3.3.0 → 3.3.2 in the root workspace, `packages/insomnia` and `packages/insomnia-data`; `allowScripts` follows. - Smoke server: HTTP/2-only listener on 4012 (`allowHTTP1: false`) echoing the negotiated protocol; `http2.test.ts` asserts `200 OK` and `"httpVersion": "2.0"`. - Binding-dependent specs tagged `@libcurl` (`http2`, `mtls`, `ipv6`) run on Windows in a new `test-windows` job; a separate job keeps the Linux shard check names `test (1, 6)` … `test (6, 6)` unchanged. - Smoke server resolves `git-receive-pack` / `git-upload-pack` via `git --exec-path`; they are not on PATH on Windows, which broke `git-*` specs. `npm ci` installs 3.3.2 and downloads the v3.3.2 asset, `type-check` passes, the three `@libcurl` specs pass on Windows, and the `win32-x64` assets contain nghttp2 1.71.0 and OpenSSL 3.5.9. ### References - INS-4174, INS-4179 - Kong/node-libcurl#120, Kong/curl-for-windows#4
ZxBing0066
added a commit
to Kong/insomnia
that referenced
this pull request
Nov 18, 2026
### Background 3.3.0 ships Windows binaries that link nghttp2 1.47.0 and the end-of-life OpenSSL 3.0.7. Aikido reports five nghttp2 vulnerabilities plus AIKIDO-2026-10423, and OpenSSL 3.0 stopped receiving fixes in September 2026. 3.3.2 ships nghttp2 1.71.0 and OpenSSL 3.5.9. ### Changes - `@getinsomnia/node-libcurl` 3.3.0 → 3.3.2 in the root workspace, `packages/insomnia` and `packages/insomnia-data`; `allowScripts` follows. - Smoke server: HTTP/2-only listener on 4012 (`allowHTTP1: false`) echoing the negotiated protocol; `http2.test.ts` asserts `200 OK` and `"httpVersion": "2.0"`. - Binding-dependent specs tagged `@libcurl` (`http2`, `mtls`, `ipv6`) run on Windows in a new `test-windows` job; a separate job keeps the Linux shard check names `test (1, 6)` … `test (6, 6)` unchanged. - Smoke server resolves `git-receive-pack` / `git-upload-pack` via `git --exec-path`; they are not on PATH on Windows, which broke `git-*` specs. `npm ci` installs 3.3.2 and downloads the v3.3.2 asset, `type-check` passes, the three `@libcurl` specs pass on Windows, and the `win32-x64` assets contain nghttp2 1.71.0 and OpenSSL 3.5.9. ### References - INS-4174, INS-4179 - Kong/node-libcurl#120, Kong/curl-for-windows#4
ZxBing0066
added a commit
to Kong/insomnia
that referenced
this pull request
Nov 18, 2026
### Background 3.3.0 ships Windows binaries that link nghttp2 1.47.0 and the end-of-life OpenSSL 3.0.7. Aikido reports five nghttp2 vulnerabilities plus AIKIDO-2026-10423, and OpenSSL 3.0 stopped receiving fixes in September 2026. 3.3.2 ships nghttp2 1.71.0 and OpenSSL 3.5.9. ### Changes - `@getinsomnia/node-libcurl` 3.3.0 → 3.3.2 in the root workspace, `packages/insomnia` and `packages/insomnia-data`; `allowScripts` follows. - Smoke server: HTTP/2-only listener on 4012 (`allowHTTP1: false`) echoing the negotiated protocol; `http2.test.ts` asserts `200 OK` and `"httpVersion": "2.0"`. - Binding-dependent specs tagged `@libcurl` (`http2`, `mtls`, `ipv6`) run on Windows in a new `test-windows` job; a separate job keeps the Linux shard check names `test (1, 6)` … `test (6, 6)` unchanged. - Smoke server resolves `git-receive-pack` / `git-upload-pack` via `git --exec-path`; they are not on PATH on Windows, which broke `git-*` specs. `npm ci` installs 3.3.2 and downloads the v3.3.2 asset, `type-check` passes, the three `@libcurl` specs pass on Windows, and the `win32-x64` assets contain nghttp2 1.71.0 and OpenSSL 3.5.9. ### References - INS-4174, INS-4179 - Kong/node-libcurl#120, Kong/curl-for-windows#4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
The vendored nghttp2 behind the Windows binaries is 1.47.0 (2021). Aikido reports five vulnerabilities for it (INS-4174, three high / two medium) plus AIKIDO-2026-10423 (INS-4179); all are fixed above
1.69.0.Changes
deps/curl-for-windows:8a4b21b5→200f5125(bump nghttp2 to 1.71.0 curl-for-windows#4) — vendors nghttp2 1.71.0 and removes the unused c-ares tree.scripts/retrieve-win-deps.js: dropscares/cares.gypfrom the hard-coded gyp rewrite list. c-ares has been disabled since DNS lookups are not working with multiple system DNS servers JCMais/node-libcurl#280 and the file no longer exists, so the script aborted withENOENT:Version
3.3.1→3.3.2inpackage.jsonand the root lockfile fields, so the release needs one merge instead of two.Compatibility
curl/lib/http2.c(curl 7.86.0) still exist in 1.71.0, so libcurl needs no change.NGHTTP2_VERSION_NUM >= 0x013200, curl switches tonghttp2_session_client_new2and disables the RFC 9113 leading/trailing whitespace validation of HTTP field values.nghttp2_time.cis new; the vendoredconfig.hdefines neitherHAVE_WINDOWS_HnorHAVE_GETTICKCOUNT64, so Windows uses the portabletime(NULL)fallback.Verification
Windows builds of this pin compiled the 1.71.0-only sources (
nghttp2_alpn.c,nghttp2_extpri.c,nghttp2_ratelim.c,nghttp2_time.c,sfparse.c) on x64 and arm64; the addon loaded and its tests passed for bothnodejsandelectron. The resulting binaries report:Downstream E2E against that binary was exercised in Kong/insomnia#10789 (Windows
@libcurlspecs: HTTP/2, TLS/mTLS, IPv6 resolver — 3 passed).Release
Merging this is followed by the
v3.3.2tag, which builds the 12 platform assets and publishes to npm through the existing OIDCpublishworkflow.References