GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix test-http2-socket-close.js · nodejs/node@5d48543

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-http2-socket-close.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-http2-socket-close.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http2-socket-close.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ netServer.listen(0, common.mustCall(() => {
4242
rejectUnauthorized: false
4343
});
4444

45+
proxyClient.on('error', () => {});
4546
proxyClient.on('close', common.mustCall(() => {
4647
netServer.close();
4748
}));
@@ -51,6 +52,7 @@ netServer.listen(0, common.mustCall(() => {
5152
':path': '/'
5253
});
5354

55+
req.on('error', () => {});
5456
req.on('response', common.mustCall((response) => {
5557
assert.strictEqual(response[':status'], 200);
5658

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.