Skip to content

Commit

Permalink
Ignored EofException response failure in MetricsHttpChannelListener
Browse files Browse the repository at this point in the history
  • Loading branch information
eager-signal committed Mar 18, 2024
1 parent 5eaae18 commit 9df6e19
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ public void onRequestFailure(final Request request, final Throwable failure) {

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

0 comments on commit 9df6e19

Please sign in to comment.