CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 09:55:45 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/nodejs/node.git
etag: W/"9f9bb44955e7f857d1c18e63a48d40a2"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=qUV21VIEaxzUhkDTnVsiALFOOfgaIu6cgV3ITcpg6uYj5FvgrrXBsSvucxqU6TDKQacwOlb3nnJoWhq0RqN4Uo3KoroCXrBDpNmQ8ac5iJXHnGGpRxb8aZgMa21tFnB8xloCLKCsLlhHOAsD%2F8Q0WHIApSrZFe9jVXt3%2BaFkwcXIofzl62K0C3uZyOOP8pKgrlXb37Bj8uecZYnOgTizY2d6nfIOHJ%2FdoZcxApNfkhsP0Mh8gv1ShXMmAnKn7Xs7%2BHrot5CKVNUJSOKO7ep1AQ%3D%3D--Yd%2FNM0F4tbjjrfsC--BWqNVoO07OKASZC%2F7B99Wg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.528405520.1753610144; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 09:55:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 09:55:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9C48:7ADB8:3844D0:4CA9A4:6885F7A0
http2: add unknownProtocol timeout · nodejs/node@afea10b · GitHub
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Commit afea10b
http2: add unknownProtocol timeout
This commit add a configuration options named unknownProtocolTimeout
which can be specified to set a value for the timeout in milliseconds
that a server should wait when an unknowProtocol is sent to it. When
this happens a timer will be started and the if the socket has not been
destroyed during that time the timer callback will destoy it.
Refs: https://hackerone.com/reports/1043360
CVE-ID: CVE-2021-22883
PR-URL: nodejs-private/node-private#246
Backport-PR-URL: nodejs-private/node-private#250
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>1 parent 1ca3f5a commit afea10bCopy full SHA for afea10b
File tree
Expand file treeCollapse file tree
3 files changed
+84
-5
lines changedFilter options
- doc/api
- lib/internal/http2
- test/parallel
Expand file treeCollapse file tree
3 files changed
+84
-5
lines changed+24-1Lines changed: 24 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1993 | 1993 |
| |
1994 | 1994 |
| |
1995 | 1995 |
| |
1996 |
| - | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
1997 | 1999 |
| |
1998 | 2000 |
| |
1999 | 2001 |
| |
| |||
2052 | 2054 |
| |
2053 | 2055 |
| |
2054 | 2056 |
| |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
2055 | 2060 |
| |
2056 | 2061 |
| |
2057 | 2062 |
| |
| |||
2158 | 2163 |
| |
2159 | 2164 |
| |
2160 | 2165 |
| |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
2161 | 2170 |
| |
2162 | 2171 |
| |
2163 | 2172 |
| |
| |||
2194 | 2203 |
| |
2195 | 2204 |
| |
2196 | 2205 |
| |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
2197 | 2209 |
| |
2198 | 2210 |
| |
2199 | 2211 |
| |
| |||
2290 | 2302 |
| |
2291 | 2303 |
| |
2292 | 2304 |
| |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
2293 | 2309 |
| |
2294 | 2310 |
| |
2295 | 2311 |
| |
| |||
2323 | 2339 |
| |
2324 | 2340 |
| |
2325 | 2341 |
| |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
2326 | 2345 |
| |
2327 | 2346 |
| |
2328 | 2347 |
| |
| |||
2406 | 2425 |
| |
2407 | 2426 |
| |
2408 | 2427 |
| |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
2409 | 2432 |
| |
2410 | 2433 |
| |
2411 | 2434 |
| |
|
+27-4Lines changed: 27 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| |||
2810 | 2810 |
| |
2811 | 2811 |
| |
2812 | 2812 |
| |
2813 |
| - | |
| 2813 | + | |
2814 | 2814 |
| |
2815 | 2815 |
| |
2816 | 2816 |
| |
2817 | 2817 |
| |
2818 | 2818 |
| |
2819 |
| - | |
2820 |
| - | |
| 2819 | + | |
| 2820 | + | |
2821 | 2821 |
| |
2822 | 2822 |
| |
2823 | 2823 |
| |
| |||
2877 | 2877 |
| |
2878 | 2878 |
| |
2879 | 2879 |
| |
| 2880 | + | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
2880 | 2896 |
| |
2881 | 2897 |
| |
2882 | 2898 |
| |
| |||
2922 | 2938 |
| |
2923 | 2939 |
| |
2924 | 2940 |
| |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
| 2947 | + | |
2925 | 2948 |
| |
2926 | 2949 |
| |
2927 | 2950 |
| |
|
test/parallel/test-http2-server-unknown-protocol.js
Copy file name to clipboard+33Lines changed: 33 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + |
You can’t perform that action at this time.
0 commit comments