opensubscriber
   Find in this group all groups
 
Unknown more information…

i : issues@subversion.tigris.org 15 June 2012 • 12:34AM -0400

[Issue 4195] properties after close_file on checkout over https
by philip

REPLY TO AUTHOR
 
REPLY TO GROUP




http://subversion.tigris.org/issues/show_bug.cgi?id=4195






------- Additional comments from philip@tigr... Thu Jun 14 09:34:38 -0700 2012 -------
This patch checks that the GET and PROPFIND are sent on the same connection
initially.  The connections always match even why the bug triggers.

Index: ../src/subversion/libsvn_ra_serf/update.c
===================================================================
--- ../src/subversion/libsvn_ra_serf/update.c   (revision 1350234)
+++ ../src/subversion/libsvn_ra_serf/update.c   (working copy)
@@ -1214,6 +1214,7 @@
{
   svn_ra_serf__connection_t *conn;
   svn_ra_serf__handler_t *handler;
+  void *propfind_conn = NULL;

   /* What connection should we go on? */
   conn = ctx->sess->conns[ctx->sess->cur_conn];
@@ -1242,6 +1243,7 @@

       /* Create a serf request for the PROPFIND.  */
       svn_ra_serf__request_create(info->propfind_handler);
+      propfind_conn = info->propfind_handler->conn->conn;

       ctx->active_propfinds++;
     }
@@ -1338,6 +1340,7 @@
           fetch_ctx->handler = handler;

           svn_ra_serf__request_create(handler);
+          SVN_ERR_ASSERT(propfind_conn == handler->conn->conn);

           ctx->active_fetches++;
         }
@@ -2254,7 +2257,7 @@
}

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=2971108

To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subv...].

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.