You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2019/09/30 21:44:50 UTC
[myfaces] branch master updated: try to also handle jetty
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/master by this push:
new 2b3d1e8 try to also handle jetty
2b3d1e8 is described below
commit 2b3d1e8e7a50f5043916aecb200c8e3e62c1d7d5
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Mon Sep 30 23:44:44 2019 +0200
try to also handle jetty
---
.../main/java/org/apache/myfaces/application/ResourceHandlerImpl.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java b/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
index ef14ff7..1125064 100644
--- a/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/application/ResourceHandlerImpl.java
@@ -629,7 +629,8 @@ public class ResourceHandlerImpl extends ResourceHandler
private static boolean isConnectionAbort(IOException e)
{
- return e.getClass().getCanonicalName().equals("org.apache.catalina.connector.ClientAbortException");
+ return e.getClass().getCanonicalName().equals("org.apache.catalina.connector.ClientAbortException")
+ || e.getClass().getCanonicalName().equals("org.eclipse.jetty.io.EofException");
}
/**