subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1590985 - /subversion/trunk/subversion/svnserve/svnserve.c
Date Tue, 29 Apr 2014 14:02:14 GMT
Author: stefan2
Date: Tue Apr 29 14:02:13 2014
New Revision: 1590985

URL: http://svn.apache.org/r1590985
Log:
Make svnserve end / close a connection whenever there was an error
that didn't get handled by the respective commands.

This applies to connection failures as well as ordinary SVN errors
and makes threaded execution behave the same as forked mode.

* subversion/libsvn_subr/cache-membuffer.c
  (svn_membuffer_cache_is_cachable): If there was an error, we are DONE.
                                     Don't try to continue with the next
                                     command ...

Modified:
    subversion/trunk/subversion/svnserve/svnserve.c

Modified: subversion/trunk/subversion/svnserve/svnserve.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/svnserve.c?rev=1590985&r1=1590984&r2=1590985&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/svnserve.c (original)
+++ subversion/trunk/subversion/svnserve/svnserve.c Tue Apr 29 14:02:13 2014
@@ -591,6 +591,7 @@ static void * APR_THREAD_FUNC serve_thre
                         get_client_info(connection->conn, connection->params,
                                         pool));
       svn_error_clear(err);
+      done = TRUE;
     }
   svn_root_pools__release_pool(pool, connection_pools);
 



Mime
View raw message