Skip to content

Accumulate request will now not hang for GET requests.#12

Merged
mdobson merged 5 commits intomasterfrom
accumulate-request-fixes
Jan 4, 2017
Merged

Accumulate request will now not hang for GET requests.#12
mdobson merged 5 commits intomasterfrom
accumulate-request-fixes

Conversation

@mdobson
Copy link
Contributor

@mdobson mdobson commented Dec 28, 2016

The accumulate-request plugin would hang if a user issued a GET request against edgemicro and it was in sequence.

This is because:

  • There would be no req._chunks array created, and an error would be thrown. There is a concat call on this array of buffers that will not work for GET requests.

This solves that issue, and creates a test for this particular case.

@mdobson
Copy link
Contributor Author

mdobson commented Dec 28, 2016

This repo was missing a .travis.yml file needed to configure CI. Updated my PR to include that as well as it technically makes test pass :)

@mdobson
Copy link
Contributor Author

mdobson commented Dec 28, 2016

I also added the badge to the readme. I like the badge in there.

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.

2 participants