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

Change default tcp_keepalive value to be disabled #1113

Merged
merged 1 commit into from Dec 14, 2020

Conversation

seanmonstar
Copy link
Owner

hyper's HttpConnector will fail the connection if any socket option fails. That combined with turning on tcp_keepalive by default means in some cases, requests are now failing. This changes the default value back to off. And here's the related hyper issue to fix it there: hyperium/hyper#2359

@seanmonstar seanmonstar merged commit 46efd05 into master Dec 14, 2020
@seanmonstar seanmonstar deleted the undefault-keepalive branch December 14, 2020 21:42
hrkfdn added a commit to hrkfdn/ncspot that referenced this pull request Dec 16, 2020
should fix crashes on platforms where tcp_keepalive is not
allowed (e.g. openbsd)

see also:
- seanmonstar/reqwest#1113
- seanmonstar/reqwest#1098
pfernie pushed a commit to pfernie/reqwest that referenced this pull request Jan 5, 2021
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