uint/mini-chat

Refactor server

Opened this issue · 0 comments

uint commented
  • set up a Context object with the PeerPool inside; broadcasting logic should be handled by it
    • try to produce a PeerGuard that logs the user out (removed from the peer pool) on dropping
  • rewrite the integration tests so that they are not so fragile and don't rely on timers
    • they could probably be rewritten as unit tests, without launching the web server for them
  • layout the modules coherently