Ignored EofException response failure in MetricsHttpChannelListener

This commit is contained in:
Chris Eager 2024-03-15 17:50:18 -05:00 committed by Chris Eager
parent 5eaae184c9
commit 9df6e19204
1 changed files with 6 additions and 0 deletions

View File

@ -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: {} {} ({}) [{}] ",