cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r451149 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
Date Fri, 29 Sep 2006 07:50:13 GMT
Author: anathaniel
Date: Fri Sep 29 00:50:13 2006
New Revision: 451149

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

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java?view=diff&rev=451149&r1=451148&r2=451149
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
Fri Sep 29 00:50:13 2006
@@ -868,6 +868,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