Skip to content
Closed
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
http: simplify test
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
ShogunPanda and lpinca authored Apr 29, 2022
commit 5d95e475cc2ab032b2b5803d0124dfa278ced774
4 changes: 1 addition & 3 deletions test/parallel/test-http-server-request-timeouts-mixed.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ const server = createServer({
keepAliveTimeout: 0,
connectionsCheckingInterval
}, common.mustCall((req, res) => {
req.on('data', () => {
// No-op
});
req.resume();

req.on('end', () => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
Expand Down