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(client): be resilient to invalid response bodies #645

Merged
merged 1 commit into from Sep 2, 2015

Conversation

seanmonstar
Copy link
Member

When an Http11Message knows that the previous response should not
have included a body per RFC7230, and fails to parse the following
response, the bytes are shuffled along, checking for the start of the
next response.

Closes #640

When an Http11Message knows that the previous response should not
have included a body per RFC7230, and fails to parse the following
response, the bytes are shuffled along, checking for the start of the
next response.

Closes #640
seanmonstar added a commit that referenced this pull request Sep 2, 2015
fix(client): be resilient to invalid response bodies
@seanmonstar seanmonstar merged commit 8b59369 into master Sep 2, 2015
@seanmonstar seanmonstar deleted the 640-invalid-response branch September 2, 2015 01:09
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.

None yet

1 participant