-
Notifications
You must be signed in to change notification settings - Fork 0
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
Note: There are bugs within the graceful shutdown
process of many HTTP server backends that can cause the process to hang.
#2
Comments
salvo (fixed and released in v0.67.2 - 已修复并发布于v0.67.2): |
poem (fixed and released in v3.0.0 - 已修复并发布于v3.0.0): |
|
axum (fixed and released in This is actually a lower-level But in fact, currently (24.05.08) the When both axum(已修复并发布于 这个其实是更底层的 但实际上目前(24.05.08) 当 |
|
warp (not fixed): This is very similar to the Axum bug above, but the solution using the patch Latest update: warp(未修复): 这个跟上面Axum的bug非常像,但用Axum提供的patch 最新更新: |
viz (fixed and released in v0.8.5): This bug is almost 100% the same as the above-mentioned axum bug, so I won’t go into details again. viz(已修复并发布于v0.8.5): 这个bug跟上述axum的bug几乎100%一样,因此不再赘述。 |
|
graceful shutdown
process of many HTTP server backends.graceful shutdown
process of many HTTP server backends that can cause the process to hang.
备注:有很多HTTP服务器后端的“优雅停机”过程都存在会使进程卡死的bug。
This issue will list the associated issues or PRs for each buggy backend one by one. They may have been solved and released, or solved but not yet released, or not yet resolved. The main purpose of this issue is to serve as a reminder.
For backends with unfixed or unreleased bugs, we will provide temporary workarounds (through
tokio::task::AbortHandle::abort()
). But when the bug is finally fixed and released, the workaround should be removed and updated to the official implementation.This issue will be closed when all backend hang bugs are fixed and released.
Summary of current status:
warp
backend is waiting for fix[1][2] and cannot work properly, and there is no perfect workaround solution, so the backend is temporarily removed[3]. Since other backends have fixed the bug, ifwarp
still has not fixed the bug after one month until July 1st, this issue will be closed and thewarp
backend will be permanently removed.salvo
,poem
,actix-web
,axum
,rocket
,viz
,ntex
) may or may not have had bugs in the past, but in short they are currently working fine.本issue将逐一列举每个存在bug的后端的关联issue或pr,它们可能是已解决并发布的,或已解决但尚未发布的,或尚未解决的。本issue的主要目的是备忘。
对于存在未修复或未发布的bug的后端,我们会对其提供临时性的workaround(通过
tokio::task::AbortHandle::abort()
)。但是当最终bug被修复并发布后,workaround应当被移除并更新为正式的实现。当所有后端的hang bug都修复并发布后,这个issue将会被关闭。
当前状态总结:
warp
后端正在等待修复[1][2],无法正常工作,且没有完美Workaround方案,因此暂时移除了该后端[3]。由于其它后端均已修复该bug,因此等一个月至7月1日,如果warp
依然没有修复该bug,该issue将会关闭,且warp
后端将被永久移除。salvo
,poem
,actix-web
,axum
,rocket
,viz
,ntex
)可能曾经有bug,可能一直没有,但总之它们目前工作正常。The text was updated successfully, but these errors were encountered: