On Tue, Jun 12, 2012 at 2:38 PM, Lieven Govaerts <l...@mobsol.be> wrote:
> Attached patch shows what I suggest. The case you probably encounter
> is when the response is handled by handle_server_error.
> This is untested, I don't have a Windows setup ready and didn't
> install my build tools yet after upgrade to OS X S.L.

After a conversation in IRC, we're going to test this one out...  =)  -- justin

Index: subversion/libsvn_ra_serf/util.c
===================================================================
--- subversion/libsvn_ra_serf/util.c    (revision 1349303)
+++ subversion/libsvn_ra_serf/util.c    (working copy)
@@ -1895,6 +1895,13 @@ handle_response(serf_request_t *request,
          svn_error_t will get unwrapped, and that APR_EAGAIN will be
          returned to serf. We'll get called later, when more network data
          is available.  */
+      if (err && APR_STATUS_IS_EAGAIN(err->apr_err))
+        {
+          *serf_status = err->apr_err;
+          svn_error_clear(err);
+          return SVN_NO_ERROR;
+        }
+
       if (!err || !APR_STATUS_IS_EOF(err->apr_err))
         return svn_error_trace(err);

Reply via email to