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: buffer writes while no socket #29019

Closed

Conversation

ronag
Copy link
Member

@ronag ronag commented Aug 6, 2019

We should be buffering writes even while no socket is assigned.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the http Issues or PRs related to the http subsystem. label Aug 6, 2019
@ronag ronag force-pushed the http-buffer-even-while-no-socket branch 2 times, most recently from 7e038a5 to 6cc9e2f Compare August 6, 2019 13:50
@ronag ronag changed the title http: buffer while no socket http: buffer writes while no socket Aug 6, 2019
@ronag ronag force-pushed the http-buffer-even-while-no-socket branch from 6cc9e2f to 292dac1 Compare August 6, 2019 13:54
lib/_http_outgoing.js Outdated Show resolved Hide resolved
test/parallel/test-http-outgoing-buffer.js Outdated Show resolved Hide resolved
@lpinca
Copy link
Member

lpinca commented Aug 6, 2019

Seems good to me with the getHighWaterMark() issue addressed.

@ronag ronag force-pushed the http-buffer-even-while-no-socket branch 6 times, most recently from 6de1993 to 355f5b7 Compare August 6, 2019 23:24
@ronag ronag force-pushed the http-buffer-even-while-no-socket branch 5 times, most recently from 53d503b to 0f8400b Compare August 8, 2019 11:11
@nodejs-github-bot
Copy link
Collaborator

@ronag ronag force-pushed the http-buffer-even-while-no-socket branch from 0f8400b to d37b213 Compare August 9, 2019 16:02
@nodejs-github-bot
Copy link
Collaborator

@Trott
Copy link
Member

Trott commented Aug 9, 2019

@nodejs/streams

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Trott
Copy link
Member

Trott commented Aug 9, 2019

Landed in c065773

@Trott Trott closed this Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants