Recent changes meant that there is only one Server (and therefore one fid->file map) per connection. This doesn't work if a connection is dropped then reconnects and tries to use the same fids (since they were never removed).
This change tries to break up the Server struct into:
Listener to handle connections (not a great name...)
Recent changes meant that there is only one Server (and therefore one fid->file map) per connection. This doesn't work if a connection is dropped then reconnects and tries to use the same fids (since they were never removed).
This change tries to break up the Server struct into:
Signed-off-by: Graham MacDonald grahamamacdonald@gmail.com