This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Commit 9ac799b
authored
fix: add socket keepalive (#205)
* fix: add socket keepalive
This is consistent with go-libp2p for [incoming](https://github.com/libp2p/go-libp2p/blob/master/p2p/transport/tcp/tcp.go#L85)
and [outgoing](https://github.com/libp2p/go-libp2p/blob/master/p2p/transport/tcp/tcp.go#L191) connections
* chore: fix remote address
* chore: handle missing details1 parent 50590c6 commit 9ac799b
3 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
| |||
0 commit comments