File tree Expand file tree Collapse file tree
pkg/transport/network/tcp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ udp_tag = "UDP"
2121mtu = 1500
2222interface = " lo"
2323# blcu_ack_id = "blcu_ack"
24- keep_alive_interval = " 1s"
25- keep_alive_probes = 3
2624timeout = " 1s"
2725
2826[vehicle .messages ]
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ func NewClient(local net.Addr) ClientConfig {
6060 return ClientConfig {
6161 Dialer : net.Dialer {
6262 Timeout : time .Second ,
63- KeepAlive : - 1 ,
63+ KeepAlive : 1 ,
6464 LocalAddr : local ,
6565 },
6666
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ type ServerConfig struct {
2727func NewServer (targets map [address ]abstraction.TransportTarget ) ServerConfig {
2828 return ServerConfig {
2929 ListenConfig : net.ListenConfig {
30- KeepAlive : - 1 ,
30+ KeepAlive : 1 ,
3131 },
3232
3333 Context : context .TODO (),
You can’t perform that action at this time.
0 commit comments