【发布时间】:2014-07-30 18:18:34
【问题描述】:
在 Python 中访问 REST 资源 (my_resource) 时,uWSGI 服务器在其日志中抛出以下错误:
SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request my_resource (ip <my_ip>) !!!
uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 164]
IOError: write error
这似乎与超时有关(客户端在请求完成处理之前断开连接)。
这是什么类型的超时,如何解决?
【问题讨论】:
标签: python rest timeout wsgi uwsgi