mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-11-30 00:56:50 +00:00
Exclude wrapped EofException in MetricsHttpEventHandler#onResponseFailure
This commit is contained in:
1 parent
773081ce36
commit
7238d00f4d
1 file changed
+2
-1
+2
-1
@@ -122,7 +122,8 @@ public class MetricsHttpEventHandler extends EventsHandler {
|
||||
|
||||
private void onResponseFailure(Request request, int status, Throwable failure) {
|
||||
|
||||
if (failure instanceof org.eclipse.jetty.io.EofException) {
|
||||
if (failure instanceof org.eclipse.jetty.io.EofException
|
||||
|| (failure instanceof java.io.IOException && failure.getCause() instanceof org.eclipse.jetty.io.EofException)) {
|
||||
// the client disconnected early
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user