You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected behaviour is to have RequestTimeout Exception raised
How do you run Sanic?
Sanic CLI
Operating System
Linux
Sanic Version
23.12.1
Additional context
By trying to understand what happening, in the checkt_timeouts function that is present under sanic/server/protocols/http_protocol.py, it seems that self._http.stage does'nt get updated to Stage.REQUEST or Stage.HANDLER, it always has the value Stage.IDLE
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the bug
I'm using sanic 23.12.1
I'm trying to use timeout feature to handle the time processing of the request, i'm using the exact same code presented
in the example :
https://github.com/sanic-org/sanic/blob/main/examples/request_timeout.py
It doesn't seems to work
Code snippet
Expected Behavior
The expected behaviour is to have RequestTimeout Exception raised
How do you run Sanic?
Sanic CLI
Operating System
Linux
Sanic Version
23.12.1
Additional context
By trying to understand what happening, in the checkt_timeouts function that is present under sanic/server/protocols/http_protocol.py, it seems that self._http.stage does'nt get updated to Stage.REQUEST or Stage.HANDLER, it always has the value Stage.IDLE
The text was updated successfully, but these errors were encountered: