On Wed, 22 Jun 2005 kfogel@collab.net wrote:
> David James <james82@gmail.com> writes:
> > Here's a simple way to hang your Subversion client.
> >
> > $ svnserve -d
> > $ killall -STOP svnserve
> > $ svn cat svn://localhost/
> >
> > It appears to me that 'svn cat' never times out if we have a svnserve
> > process that is not responding. Is this behaviour intended?
>
> Not intended, but also not completely unreasonable. Should it ever
> time out? Someone can interrupt if they're upset, but maybe it's just
> a really, really slow link...
>
Ha, they'll be even more upset when they discover that they can't (easily)
interrupt;). Suspending, then kill -9 on Unix is the only way I succeeded.
This is a boring problem. If the server stops responding at all, we just
set a flag and never reach a cancelation check. I don't know how to fix
this. We want to run cleanup, but we don't want interrupted system calls
to be restarted.
Regards,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 23 09:24:14 2005