hi,all新手最近在用iresty.websocket搭建长连接推送,有以下困惑希望大家能给点意见
1、设置 lua_socket_keepalive_timeout 60s; 客户端超时了,日志里头打印出了2016/08/18 16:11:52 [info] 17455#0: *766 client timed out (110: Connection timed out) while waiting for request
但是长连接并不会断开,客户端发送消息依然能被服务器接收,通信正常。
长连接超时有回调函数吗?
2、日志打印的时候为什么一条日志会打印多条?
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty+subscribe@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+unsubscribe@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
--