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

kOnHeaders bugfix #49

Merged
merged 2 commits into from
Jul 6, 2016
Merged

kOnHeaders bugfix #49

merged 2 commits into from
Jul 6, 2016

Conversation

davidmarkclements
Copy link
Collaborator

If a response has trailers, it will trigger the following:

https://github.com/creationix/http-parser-js/blob/master/http-parser.js#L353

We need a noop for kOnHeaders otherwise autocannon will throw when a response has trailers

cc @mcollina

@mcollina
Copy link
Owner

mcollina commented Jul 6, 2016

Unit test? :)

@davidmarkclements
Copy link
Collaborator Author

added :bowtie:

@mcollina
Copy link
Owner

mcollina commented Jul 6, 2016

LGTM

@davidmarkclements davidmarkclements merged commit c2c200c into master Jul 6, 2016
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