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

don't set linger to 0 #14

Merged
merged 1 commit into from
Apr 4, 2019
Merged

don't set linger to 0 #14

merged 1 commit into from
Apr 4, 2019

Conversation

Stebalien
Copy link
Member

We should do this from go-tcp-transport (libp2p/go-tcp-transport#36), not here, as setting linger to 0 will cause us to send RST packets instead of nicely closing connections.

Also, document why we need the fallback dialer.

We should do this from
go-tcp-transport (libp2p/go-tcp-transport#36), not here,
as setting linger to 0 will cause us to send RST packets instead of nicely
closing connections.

Also, document why we need the fallback dialer.
@Stebalien Stebalien merged commit c7583c8 into master Apr 4, 2019
@ghost ghost removed the status/in-progress In progress label Apr 4, 2019
@Stebalien Stebalien deleted the fix/linger branch April 4, 2019 07:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants