Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7f960e7

Browse files
committedNov 22, 2022
fix: removed res.end
1 parent 19684f8 commit 7f960e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎test/parallel/test-domain-multi.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ const server = http.createServer((req, res) => {
4747
b.on('error', common.mustCall((er) => {
4848
if (res) {
4949
// Introduce an error on the client by writing unexpected data.
50-
// The client is now expecting a chunk header so any letter will
51-
// have the parser throw an error.
50+
// The client is now expecting a chunk header so any letter will have the parser throw an error.
5251
res.socket.write('H');
53-
res.end('An error occurred');
5452
}
5553
// res.writeHead(500), res.destroy, etc.
5654
server.close();

0 commit comments

Comments
 (0)
Please sign in to comment.