There is already an option to set a session timeout on the server side
in case the client disconnects without contacting the server. The
issue with this currently being that if a mounted drive isn’t accessed
within the timeout period the session will be killed on the server and
the client will error when next trying to access the session. Is it
possible to add a noop/keepalive packet type which the client can be
configured to send at a specified interval? This would allow people to
tune these depending upon their specific needs. If you are doing a lot
of development and your client is frequently rebooting unexpectedly,
set the timeouts to a short interval and wait briefly to reconnect. It
isn’t a perfect solution but does overcome the malicious idiot forcing
disconnects issue. You probably would want to add a flag on the server
side whether to respect these timeouts because you don't want someone
connected to a public server remaining connected forever if they
aren't actively using the server.
> You received this message because you are subscribed to the Google Groups "mTCP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
mtcp+uns...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/mtcp/CAPAHKi33AriHntO9CDfq6vdoPB16qiE2u7Vjkt5Jje70M8JFQw%40mail.gmail.com.