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 large responses #185

Merged
merged 6 commits into from
Aug 3, 2015
Merged

Fix large responses #185

merged 6 commits into from
Aug 3, 2015

Conversation

buger
Copy link
Owner

@buger buger commented Aug 3, 2015

If response large then our buffer, we need to read all response buffer, otherwise it will corrupt response of next request.

Detecting end of response body is non trivial thing, especially with keep-alive.
Simples case is to to close connection if response too large.

Should fix #184

buger added a commit that referenced this pull request Aug 3, 2015
@buger buger merged commit 87ad851 into master Aug 3, 2015
@buger
Copy link
Owner Author

buger commented Aug 6, 2015

Included into v0.9.8

@slimus slimus deleted the fix-large-response branch June 3, 2020 04:08
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.

Some http responses come back from http_client mangled
1 participant