"Connection reset by peer" Exceptions in Jetty when client is using IE8 and closes tab during loadin

25 篇文章 0 订阅

http://jira.codehaus.org/browse/JETTY-1460

There is a difference between jetty-6 and jetty-7/8 with regards the UncheckedPrintWriter. In jetty-6, any exception caused by the IO was suppressed. In jetty-7, the UncheckedPrintWriter is used and defaults to throwing the exception as a runtime exception.

These are the relevant issues:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318551
http://jira.codehaus.org/browse/JETTY-1086

I still believe that this log message is caused by a client (or the network or the server's operating system) closing the connection to the client when output is still being written to it.

I will look at why we don't have the ability to turn off the throwing of these runtime IOExceptions (like we do if we are using the UncheckedPrintWriter for the IncludableGzipFilter).

In the meanwhile you may want to set up some custom error pages for the webapp.

====

org.eclipse.jetty.io.EofException

Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值