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

Eliminate a protocol error when first chunk is last too. #186

Merged
merged 1 commit into from
Mar 24, 2017

Conversation

plu9in
Copy link
Contributor

@plu9in plu9in commented Feb 9, 2016

Cowboy server rejects the connection when chunk is last too. It is due to the fact that the frame bits are like **FIN=0x1 and OPCODE=0x0 and there is no more data to send.

@Lawouach
Copy link
Owner

Lawouach commented Feb 9, 2016

Good catch! Could deserve a test too :)

I will have too check the spec as well. But thanks.

@tito
Copy link
Contributor

tito commented Mar 24, 2017

I'm not an expert on the protocol, but since @Lawouach said it was a good catch, it means it works. Just a test is missing, so we can still merge this PR. Thanks!

@tito tito closed this Mar 24, 2017
@tito tito reopened this Mar 24, 2017
@tito tito merged commit 48116a8 into Lawouach:master Mar 24, 2017
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.

3 participants