diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsHttpChannelListener.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsHttpChannelListener.java index 13ded90b1..ee5717b02 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsHttpChannelListener.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsHttpChannelListener.java @@ -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: {} {} ({}) [{}] ",