diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-09-30 14:53:12 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-09-30 14:53:12 +0200 |
commit | dd754c0ea84e7165048e89d2d6602fb670d72942 (patch) | |
tree | f9290abe77c18fb3ee3a113361a8153a1c43f651 /jdisc_http_service/src | |
parent | 633d09e4b279aefc8fa3f47f7186072a7f1f8d30 (diff) |
Hide exceptions caused by abruptly closed connections
Diffstat (limited to 'jdisc_http_service/src')
-rw-r--r-- | jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/HttpRequestDispatch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/HttpRequestDispatch.java b/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/HttpRequestDispatch.java index 2d2632bcf0f..71dcb7d0682 100644 --- a/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/HttpRequestDispatch.java +++ b/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/HttpRequestDispatch.java @@ -127,7 +127,7 @@ class HttpRequestDispatch { boolean reportedError = false; if (error != null) { - if (error instanceof CompletionException && error.getCause() instanceof EofException) { + if (isErrorOfType(error, EofException.class, IOException.class)) { log.log(Level.FINE, error, () -> "Network connection was unexpectedly terminated: " + parent.jettyRequest.getRequestURI()); |