subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1388975 - /subversion/trunk/subversion/libsvn_ra_serf/util.c
Date Sun, 23 Sep 2012 08:02:58 GMT
Author: lgo
Date: Sun Sep 23 08:02:58 2012
New Revision: 1388975

URL: http://svn.apache.org/viewvc?rev=1388975&view=rev
Log:
Partial fix for issue #4174.

* subversion/libsvn_ra_serf/util.c:
  (handle_response): Connection abort is now an error where serf can recover
   from, so treat it as non-fatal error.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/util.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1388975&r1=1388974&r2=1388975&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Sun Sep 23 08:02:58 2012
@@ -1986,7 +1986,8 @@ handle_response(serf_request_t *request,
 
   if (err
       && (!SERF_BUCKET_READ_ERROR(err->apr_err)
-          || APR_STATUS_IS_ECONNRESET(err->apr_err)))
+          || APR_STATUS_IS_ECONNRESET(err->apr_err)
+          || APR_STATUS_IS_ECONNABORTED(err->apr_err)))
     {
       /* These errors are special cased in serf
          ### We hope no handler returns these by accident. */



Mime
View raw message