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

Add byte limit option #172

Merged
merged 12 commits into from
Oct 2, 2015
Merged

Add byte limit option #172

merged 12 commits into from
Oct 2, 2015

Conversation

rmccue
Copy link
Collaborator

@rmccue rmccue commented Oct 2, 2015

Continues @ozh's PR from #147, but with master merged so the tests are running up-to-date.

ozh and others added 7 commits April 17, 2015 19:38
New option `response_byte_limit` limit response body to an arbitrary number of bytes
New class CONST: CHUNK, replacing previously hardcoded value 1160 sockets, used also with cURL
This makes more sense and will help understand the code in the future
@rmccue rmccue added this to the 1.7 milestone Oct 2, 2015
Rather than limiting afterwards, stream to a function and handle it
ourselves. This also works better when streaming to files.
Simplify, simplify, simplify.
rmccue added a commit that referenced this pull request Oct 2, 2015
@rmccue rmccue merged commit 5b8ef32 into master Oct 2, 2015
@rmccue rmccue deleted the byte-limit branch October 2, 2015 14:16
@rmccue rmccue mentioned this pull request Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants