尽管客户端断开连接,WSGI 服务器仍能处理请求? - Python
我需要找到一个稳定的 wsgi 服务器,当客户端断开连接时,它不会停止处理请求。
我不确定 uWSGI 或 Gunicorn 是否符合这个标准。
忘记添加此内容:
我还尝试在处理请求之前返回响应。
有什么想法吗?
I need to find a stable wsgi server that won't stop processing requests when client disconnect.
I'm not sure if uWSGI or gunicorn would fit this criteria.
Forgot to add this:
I am also trying to return a response before the request gets processed.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几乎所有的 wsgi 服务器都这样做。我不确定你的意思。
almost all wsgi servers do that. I'm not sure what you mean.