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
ev_signal_on_sigint(struct ev_loop* mainloop, ev_signal* watcher, const int events)
{
/* Clean up and shut down this thread.
* (Shuts down the Python interpreter if this is the main thread) */
ev_unloop(mainloop, EVUNLOOP_ALL);
PyErr_SetInterrupt();
}
This code bluntly interrupts request in processing. What is needed for graceful stop is ability to wait for current request to complete and only then raise exception or exit process.
The text was updated successfully, but these errors were encountered:
bjoern/bjoern/server.c
Line 62 in a090b0b
This code bluntly interrupts request in processing. What is needed for graceful stop is ability to wait for current request to complete and only then raise exception or exit process.
The text was updated successfully, but these errors were encountered: