Harvey-OS / ninep

Package for implementing clients and servers of the 9P and 9P2000 distributed resource protocols in Go.
Other
39 stars 19 forks source link

One Server per connection #41

Closed gmacd closed 5 years ago

gmacd commented 5 years ago

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