diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-09-30 15:00:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-30 15:00:08 +0200 |
commit | 4e4ec099edd99775066ab416b35d6716479e3dde (patch) | |
tree | 25d43f3f59c871b946178d6aaf84d6ddacaf271a | |
parent | cb24c26484ca658d796628edc684d44dc74c0821 (diff) | |
parent | dd754c0ea84e7165048e89d2d6602fb670d72942 (diff) |
Merge pull request #10818 from vespa-engine/bjorncs/jdisc
Hide exceptions caused by abruptly closed connections
-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()); |