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

feat: reuse tcp connection #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: reuse tcp connection #59

wants to merge 1 commit into from

Conversation

Blaok
Copy link

@Blaok Blaok commented Jun 3, 2018

As per the documentation of requests, a connection won't be released for reuse
until content is read from Response (under stream=True). This commit adds dummy reads
at proper positions.

As per the documentation of `requests`, a connection won't be released
until `content` is read from `Response`. This commit adds dummy reads
at proper positions.
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