We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda399a commit d258697Copy full SHA for d258697
test/parallel/test-http2-options-max-headers-exceeds-nghttp2.js
@@ -65,7 +65,6 @@ server.listen(0, common.mustCall(() => {
65
'stream',
66
common.mustCall((stream) => {
67
stream.additionalHeaders({
68
- ':status': 102,
69
// Greater than 65536 bytes
70
'test-header': 'A'.repeat(90000),
71
});
@@ -89,6 +88,8 @@ server.listen(0, common.mustCall(() => {
89
88
0,
90
common.mustCall(() => {
91
const client = h2.connect(`http://localhost:${server.address().port}`);
+ client.on('error', common.mustNotCall());
92
+
93
const req = client.request();
94
req.on('response', common.mustNotCall());
95
req.on('error', common.mustNotCall());
0 commit comments