Let's say there are some buggy clients which does not close connections. We can call it 'hanging connections' or 'dead connections' what ever the common wording in rust is.
What I have seen is that there are some read,write and connection timeout solutions but haven't seen any about idle timeout.
What do I mean with "Idle timeout"?
When there is no traffic for "duration(x)".
I think that this idle timeout should be implemented in the copy call but I would like to here some opinions and maybe how other have implemented such timeout