Can keep-alive option be added to chardev TCP socket?
My config is the like this:
-chardev
socket,id=charserial0,host=0.0.0.0,port=41234,telnet=on,server=on,wait=off

The problem is that without keep-alive, if the user disconnects without
gracefully terminating the TCP session, the session stays open forever. In
this state, new sessions can't access the chardev, since the zombie TCP
session keeps exclusive access.
I think TCP keep-alive option would provide a elegant solution for this
problem.

Reply via email to