GeezerVison is showing github.com — The differences between http2 compatibility API and http[s] · Issue #29829 · nodejs/node
The differences between http2 compatibility API and http[s] #29829Labels httpIssues and PRs related to the http subsystem.http2Issues and PRs related to the http2 subsystem.httpsIssues and PRs related to the https subsystem.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure. DescriptionThanks to the efforts of making the compatibility API, differences between http[s] and http2 modules seldom annoy developers.
But, some http2 compatibility API still behaves differently and lacks some APIs from http[s] and it causes breakages to ecosystems for http[s](e.g. expressjs/express#3730).
In order to expose the differences, I've been translating test cases for http[s] to test cases for http2 at my repo. The following is a list of the differences currently founded by translated test cases.
I'm not sure all the differences have to be fixed. I thought if they should not be fixed, documenting the differences is good for the developer.
Differences between http and http2 compatibility API
Reacted by qdevial, Gary Crye, GrosSacASacs, Ivan Pegashev, Aphix, Robert Nagy, Miroslav Bajtoš, Bernardo A. Dal Corno, Pranshu Srivastava, Ruben Bridgewater and 9 more Reacted by Anna Henningsen, Pranshu Srivastava, Andrei Pechkurov, ulrichb, Suman Kundu, Mikhail Shustov and Sebastian Plaza Reacted by Bùi Quang Đức Tri Activityadded httpIssues and PRs related to the http subsystem. http2Issues and PRs related to the http2 subsystem. httpsIssues and PRs related to the https subsystem. on Oct 3, 2019ronag commented on Dec 14, 2019 I think you can add #24347 to the list as well. ronag commented on Dec 14, 2019 Really good work! I would be interested in helping sorting some of this. ronag commented on Dec 14, 2019 @sogaani I would like to suggest we put your tests in under tests/known_issues so that we might sort them out later? @addaleax would you agree? ronag commented on Dec 14, 2019 Here is another one that might be worth to add to the list, #29529 sogaani commented on Dec 15, 2019 @ronag Thank you for looking at this issue. I added 2 issues you mentioned.
I'm glad to make pull request to put my tests at this repo if it is OK. ronag commented on Dec 17, 2019 @addaleax Some guidance here? Would it make sense to add @sogaani's test in e.g. known_issues? Sorting all these out will probably take a while and I'd like to avoid losing this excellent work. ronag commented on Jan 16, 2020 ronag commented on Jan 26, 2020 @sogaani: Just wanted to give a quick ping that I'm still interested in helping sorting these out over time (a little swamped at the moment). But please do continue updating the list if you find more differences. sogaani commented on Jan 27, 2020 @ronag Thank you for mentioning the difference. I added :) ronag commented on Apr 17, 2020 @rexagod: If you are looking for tasks there is plenty to pick from here. Reacted by Pranshu Srivastava rexagod commented on Apr 17, 2020 Awesome! Thank you for pointing me here, @ronag! Reacted by Robert Nagy and Aphix krokowski0x commented on Feb 26, 2021 markb-trustifi commented on May 16, 2024 github-actions commented on Jun 27, 2026 This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open. added staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure. on Jun 27, 2026github-actions commented on Jul 28, 2026 This issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 120 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.
MetadataMetadatahttpIssues and PRs related to the http subsystem.http2Issues and PRs related to the http2 subsystem.httpsIssues and PRs related to the https subsystem.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure. DevelopmentNo branches or pull requestsIssue actions
|