[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

BUG: 'svn lock' hangs on svnserve

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-05-11 22:02:32 CEST


when writing new authz tests I encountered a bug in svn/svnserve.

Description: when trying to lock a file on which you don't have read-access,
svn will hang. Expected behaviour is that svn bails out with Authorization
Failed (like ra_dav does).

When debugging I see that svn hangs on the line 294 of
SVN_ERR(readbuf_getchar(conn, pool, result));

Apparently svn is waiting on svnserve to send more data.

To reproduce the problem you can apply the attached patch (locally, please
do not commit this :). It's an extra testcase for the authz_write_access
test in authz_tests.py. Running 'authz_tests.py --url=svn://localhost 5'
will then hang.



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu May 11 22:06:44 2006

This is an archived mail posted to the Subversion Dev mailing list.