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

Fix sending trailers when there are data frames in queue #93

Closed
wants to merge 1 commit into from

Conversation

tony612
Copy link
Contributor

@tony612 tony612 commented Dec 23, 2019

Fixes #92. I think this is more reasonable than if (element(1, DataOrFileOrTrailers) =/= trailers) andalso (StreamWindow < MinSendSize) andalso ...

Test case is at ninenines/cowboy#1428

@tony612
Copy link
Contributor Author

tony612 commented Dec 31, 2019

@essen Could you review this? I have another PR to verify the changes ninenines/cowboy#1432 (Not sure why the tests on arch failed)

@essen
Copy link
Member

essen commented Dec 31, 2019

Patch is fine I'll try to take a look today but I've been sick so let's hope for the best.

@essen
Copy link
Member

essen commented Dec 31, 2019

Merged, thanks!

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.

Got error when sending trailers
2 participants