简体   繁体   中英

Ways to prevent broken pipe?

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 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)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM