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

rm-client-sim: port client simulator test to unit tests, fix last chunk parse bug #122

Merged
merged 3 commits into from
Apr 7, 2019

Conversation

seliopou
Copy link
Member

@seliopou seliopou commented Apr 5, 2019

Move the last of the simulator tests over to unit tests. Fix a bug in parsing the final chunk in a chunk-encoded body. The final eof wasn't being consumed.

seliopou added 3 commits April 5, 2019 01:14
The client connection currently works with a well-behaving runtime.
However, it needlessly requests a yield in order to shutdown the writer.
This isn't to expensive, and it makes testing easier.
The last chunk of a chunk-encoded body was not being properly parsed.
Specifically, the final eol was not being consumed.

This is the other side of the same coin fixed in #106.
@seliopou seliopou changed the title rm-client-state: port client simulator test to unit tests, fix last chunk parse bug rm-client-sim: port client simulator test to unit tests, fix last chunk parse bug Apr 5, 2019
@seliopou seliopou merged commit c2ee924 into master Apr 7, 2019
@seliopou seliopou deleted the rm-client-sim branch April 7, 2019 15:10
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.

1 participant