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

Include missing keepalive_expiry configuration #1005

Merged
merged 1 commit into from
May 29, 2020
Merged

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie commented May 29, 2020

Refs encode/httpcore#44

In 12.x we used to default the keepalive_expiry to 5.0 to mitigate asyncio's flaky behaviour for checking the aliveness of the TCP connection. https://github.com/encode/httpx/blob/0.12.1/httpx/_dispatch/connection_pool.py#L89

We failed to continue to do so in 13.x when we switched to httpcore. This change reverts that.

@tomchristie tomchristie requested a review from a team May 29, 2020 09:45
Copy link
Contributor

@yeraydiazdiaz yeraydiazdiaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

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.

2 participants