Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Fix off-by-one in handling upgrade bodies. #49

Merged
merged 1 commit into from
Jun 19, 2011
Merged

Fix off-by-one in handling upgrade bodies. #49

merged 1 commit into from
Jun 19, 2011

Conversation

pgriess
Copy link
Contributor

@pgriess pgriess commented Jun 19, 2011

  • When handling upgraded bodies, http_parser_execute() used to return
    one fewer bytes parsed than expected. This caused the final LF to be
    interpreted by the caller as part of the body.
  • Add a bunch of upgrade body unit tests.

- When handling upgraded bodies, http_parser_execute() used to return
  one fewer bytes parsed than expected. This caused the final LF to be
  interpreted by the caller as part of the body.
- Add a bunch of upgrade body unit tests.
@ry
Copy link
Contributor

ry commented Jun 19, 2011

awesome +1

pgriess added a commit that referenced this pull request Jun 19, 2011
Fix off-by-one in handling upgrade bodies.
@pgriess pgriess merged commit 056bcd3 into nodejs:master Jun 19, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants