Open
Description
- Version: v13.7.0
- Platform: linux 5.5.2
- Subsystem: net
If setKeepAlive()
is called on a tcp socket before the connect
event, then the initialDelay
parameter is ignored.
This bug was alread reported here for version 0.12, but it still seems to be there in 13.7.
If, for instance, I call setKeepAlive(true, 10000)
before the connect
event, the default initialDelay of 7200s is used.
netstat -ntp --timers
gives:
tcp 0 0 10.10.15.220:56866 10.10.15.148:6666 ESTABLISHED 132820/node keepalive (7132.09/0/0)