Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否支持Graceful exit #29

Open
heguangyu5 opened this issue Oct 29, 2024 · 0 comments
Open

可否支持Graceful exit #29

heguangyu5 opened this issue Oct 29, 2024 · 0 comments

Comments

@heguangyu5
Copy link

当接收到signal时,在callback里先free掉listeners,这样不会有新请求进来.
然后等待ev_run()处理完所有event后返回.
再释放其它资源,然后退出.
类似 libevent 的 evhttp_del_accept_socket()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant