Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

fix: avoid logging "invalid argument" errors when setting keepalive #83

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

Stebalien
Copy link
Member

This can happen if, e.g., the connection is already dead. I think? See https://discuss.ipfs.io/t/tcp-keepalive-and-setsockopt-invalid-argument/11725

Really, I don't know what was causing this, but there's nothing we can do about it.

This can happen if, e.g., the connection is already dead. I think?
See https://discuss.ipfs.io/t/tcp-keepalive-and-setsockopt-invalid-argument/11725

Really, I don't know _what_ was causing this, but there's nothing we can
do about it.
@Stebalien Stebalien requested a review from marten-seemann July 14, 2021 19:08
@Stebalien Stebalien merged commit f27215f into master Jul 14, 2021
@Stebalien Stebalien deleted the fix/noisy-log branch July 14, 2021 22:19
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants