tinyweb
tinyweb copied to clipboard
Bug fix: asyncio.cancel
- Replaced asyncio.cancel with task.cancel and now storing tasks in self.conns instead of handlers.
- Check web server is running before shutting down and is not running before starting.
- Removed unused self.processed_connections in webserver class.