ludios/Minerva — Issue #23: Server: disconnect clients that refuse to close the connection
Author: ivankozik
Created: 2011-12-18 12:55:04+00:00
State: open

Right now, the server assumes that clients are well-behaving and will close the connection when asked.

This needs to be implemented for both socket-based Minerva streams and the Flash policy file download.

```
# TODO: for non-HTTP, set timer and close the connection ourselves
# in 5-10 seconds
##self.transport.loseWriteConnection(), maybe followed by loseConnection later
```

```
# TODO: loseConnection in 5-10 seconds, if client doesn't.
# Don't use loseWriteConnection because the client doesn't
# send anything else over this connection anyway.
```