Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http: disconnect in 1 minute after upgraded 12.19 #36004

Closed
nwtgck opened this issue Nov 6, 2020 · 1 comment
Closed

http: disconnect in 1 minute after upgraded 12.19 #36004

nwtgck opened this issue Nov 6, 2020 · 1 comment

Comments

@nwtgck
Copy link

nwtgck commented Nov 6, 2020

  • v12.19.0
  • Darwin 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 18 20:50:10 PDT 2020; root:xnu-4903.278.43~1/RELEASE_X86_64 x86_64
  • http

What steps will reproduce the bug?

Run server using the following code with Node 12.19. It works on v12.18.4.

const http = require('http');

const server = http.createServer((req, res) => {
  req.pipe(process.stdout);
});
console.log('Running...');
server.listen(3000);

A client streams as follows.

seq inf | pv --rate-limit 10 | curl -sST- localhost:3000

In just one minute, the server disconnects the connection.

Demo video

See the demo video below.
https://youtu.be/8I-gNn6GS2g?t=60

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior?

Not disconnect.

@Flarna
Copy link
Member

Flarna commented Nov 7, 2020

I think this is a duplicate of #35661

Shoud be fixed in 12.20.0 currently in preparation.

I will close this. Please reopen in case my assessment is wrong.

@Flarna Flarna closed this as completed Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants