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

Avoid a buffer getting overwritten during calls to send #1187

Merged
merged 2 commits into from
Sep 20, 2019

Conversation

ckkashyap
Copy link
Contributor

If ITransportSender ends up queuing the buffers before sending (as we've seen in the case of the WS library in jsdom) then calls to send can overwrite the buffer incorrectly. This change ensures that each call to send works on a newly allocated buffer.

Copy link
Contributor

@tdurnford tdurnford left a comment

Choose a reason for hiding this comment

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

LGTM

@coveralls
Copy link

Pull Request Test Coverage Report for Build 80020

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.554%

Totals Coverage Status
Change from base Build 79884: 0.0%
Covered Lines: 4420
Relevant Lines: 4796

💛 - Coveralls

@DDEfromOR DDEfromOR merged commit 3bb60c5 into master Sep 20, 2019
@DDEfromOR DDEfromOR deleted the ckk/streaming-extensions-fixes branch September 20, 2019 22:32
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

Successfully merging this pull request may close these issues.

5 participants