You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
socket.setKeepAlive(true, 3000) works fine, which will create tcp connection every 3 seconds
The issue is socket.setKeepAlive(true), if do not put delay millisecond parameter (which is default 0), it, however sends 290 keep alive message in every second.
Another finding is that, the default massive keep alive message does not happen on my personal laptop (So it only happens on production server)
The text was updated successfully, but these errors were encountered:
betimer
changed the title
socket.setKeepAlive(true) can send massive keep alive messages
socket.setKeepAlive(true) can send massive [TCP Keep-Alive] messages
Nov 28, 2018
@betimer you're setting the delay to 0 so it'll just send it as often as it can — this works as expected. I'm going to close this out as I don't really see anything that we can do to change this. As far as I can see this is even documented.
socket.setKeepAlive(true, 3000) works fine, which will create tcp connection every 3 seconds
The issue is socket.setKeepAlive(true), if do not put delay millisecond parameter (which is default 0), it, however sends 290 keep alive message in every second.
Another finding is that, the default massive keep alive message does not happen on my personal laptop (So it only happens on production server)
The text was updated successfully, but these errors were encountered: