Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: removed res.end
  • Loading branch information
marco-ippolito committed Nov 23, 2022
commit 0ccb0c2cefd6be3121f6c0ef4337540cff79f577
4 changes: 1 addition & 3 deletions test/parallel/test-domain-multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ const server = http.createServer((req, res) => {
b.on('error', common.mustCall((er) => {
if (res) {
// Introduce an error on the client by writing unexpected data.
// The client is now expecting a chunk header so any letter will
// have the parser throw an error.
// The client is now expecting a chunk header so any letter will have the parser throw an error.
res.socket.write('H');
res.end('An error occurred');
}
// res.writeHead(500), res.destroy, etc.
server.close();
Expand Down