Ignored EofException response failure in MetricsHttpChannelListener
This commit is contained in:
parent
5eaae184c9
commit
9df6e19204
|
@ -112,6 +112,12 @@ public class MetricsHttpChannelListener implements HttpChannel.Listener, Contain
|
|||
|
||||
@Override
|
||||
public void onResponseFailure(Request request, Throwable failure) {
|
||||
|
||||
if (failure instanceof org.eclipse.jetty.io.EofException) {
|
||||
// the client disconnected early
|
||||
return;
|
||||
}
|
||||
|
||||
final RequestInfo requestInfo = getRequestInfo(request);
|
||||
|
||||
logger.warn("Response failure: {} {} ({}) [{}] ",
|
||||
|
|
Loading…
Reference in New Issue