server-sent-events-sample icon indicating copy to clipboard operation
server-sent-events-sample copied to clipboard

断开的管道异常

Open WangLiangChen opened this issue 7 years ago • 1 comments

当客户端浏览器关闭或者刷新时,会有broken pipe异常产生,如何解决?

WangLiangChen avatar Mar 27 '17 06:03 WangLiangChen

这个异常出现在服务端,就说明连接出现问题,捕获异常之后做一些必要的资源释放之后把连接关掉就行了。

On Tue, 28 Mar 2017, 04:54 王良辰, [email protected] wrote:

当客户端浏览器关闭或者刷新时,会有broken pipe异常产生,如何解决?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexcheng1982/server-sent-events-sample/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHgEEdcAqfJl3XMvQdJM4S_2cwxaZazks5rp14JgaJpZM4Mp3He .

alexcheng1982 avatar Mar 27 '17 18:03 alexcheng1982