开发者

Ways to prevent broken pipe?

开发者 https://www.devze.com 2022-12-12 03:59 出处:网络
ClientAbortException:java.net.SocketException: Broken pipe If I am wright, this happens when user aborts current operation or makes another request, before the last one is finished.
ClientAbortException:  java.net.SocketException: Broken pipe

If I am wright, this happens when user aborts current operation or makes another request, before the last one is finished.

Can this 开发者_C百科reflects on browsing user or is this (always) just a Catalinas exception?

Are there any ways to avoid this exception?


Try defining a filter for all resources in your webapp, and catch & discard the exception there. I'm not sure if it will work, but give it a try.

In 99% of the cases this exception can be ignored, because it's mainly called by user disconnects (i-net breaks, user hits stop, closes browser, etc)

0

精彩评论

暂无评论...
验证码 换一张
取 消