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
This is not a common way to use Drogon. In fact, Drogon's design does not take into account the scenario of calling the run function again after it exits.
It is valid use case for our library users to use C-API to stop and re-start the server with different parameters within the same process. I understand Drogon is not designed to support that (probably this is why HttpAppFramework instance is a singleton) - but is there any chance that Drogon team add support for that? The http server we migrate from (Tensorflow's net_http module) does support that.
Describe the bug
There is segfault when the server is closed using
::quit()
and then restarted using::run()
.GDB:
To Reproduce
Expected behavior
No segfault, server restarts
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: