sanic
sanic copied to clipboard
Accelerate your web app development | Build fast. Run fast.
**Describe the bug** The memory of the process is increasing for everytime I request a static file. **Code snippet** ```from sanic import Sanic, response import os app = Sanic(__name__) here...
**Describe the bug** When stopping the web server, the library just brute force closes the event loop rather than gracefully closing and cleaning up. This prevents Sanic from being used...
8|sanicgame | 2022-04-06T09:46:43: [2022-04-06 09:46:43 +0000] - (sanic.access)[INFO][192.168.1.50:62892]: POST http://192.168.1.145:8888/robot/wx 503 730
**Describe the bug** A clear and concise description of what the bug is, make sure to paste any exceptions and tracebacks. Facing a very weird issue in our production systems....
Dispatching a signal event can provide a context to pass data into the handler: ```python await request.app.dispatch( "user.registration.created", context={"email": request.json.email} ) ``` However, currently if I wait on that same...
## Proposal: _Always_ run workers in a subprocess. Currently, when in `PRODUCTION` mode with `workers=1`, the server runs in the main process. This can lead to a discrepancy since the...
Even in debug mode nothing at all appears on log when the TLS handshake fails. Connections with no request are only logged if they finish the TLS handshake and then...
If a connection is made and the client disconnects without saying anything (which apparently is normal behaviour with browsers), Sanic logs this: ``` [2021-10-16 19:43:23 +0100] - (sanic.access)[INFO][UNKNOWN]: NONE https:///*...
**Describe the bug** Websockets 9.0.x has a security issue with remediation introduced in 9.1 **Additional context** Closed by #2366
## Background I see a lot of developers getting stuck because of import ordering. This usually happens because of a mistake in trying to import a module with reference to...