cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r451148 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
Date Fri, 29 Sep 2006 07:50:01 GMT
Author: anathaniel
Date: Fri Sep 29 00:50:00 2006
New Revision: 451148

URL: http://svn.apache.org/viewvc?view=rev&rev=451148
Log:
Java5 on Solaris reports connection reset as SocketException("Broken pipe")

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java?view=diff&rev=451148&r1=451147&r2=451148
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
Fri Sep 29 00:50:00 2006
@@ -926,6 +926,7 @@
         if (e instanceof SocketException) {
             if (e.getMessage().indexOf("reset") > -1
                     || e.getMessage().indexOf("aborted") > -1
+                    || e.getMessage().indexOf("Broken pipe") > -1
                     || e.getMessage().indexOf("connection abort") > -1) {
                 throw new ConnectionResetException("Connection reset by peer", e);
             }



Mime
View raw message