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

Re: Issue 1626: svnserve Win32 calls exit on protocol errors

From: Branko ÄŒibej <brane_at_xbc.nu>
Date: 2003-12-16 10:58:54 CET

mark benedetto king wrote:

>On Mon, Dec 15, 2003 at 09:04:35PM +0100, Erik Huelsmann wrote:
>
>
>>I'm afraid I don't understand what you try to say with the issue. Talking to
>>Greg Hudson did not help, since he doesn't either. The problem is that the
>>word exit does not appear in serve.c at all and the abort function is there
>>once, but on a dead code path under normal operation. main.c uses the exit
>>function, but does so when it has thread creation problems or socket problems;
>>nothing related to protocol errors. Could you elaborate a bit, so that I could
>>have a look and try to fix this?
>>
>>
>>
>
>accept() has certain non-fatal errors; EMFILE and ENFILE in particular.
>It would be a shame if a threaded svnserve tore down all the threads just
>because it couldn't allocate another fd. Even a non-threaded daemon
>mode svnserve shouldn't exit; it should just log the error and continue;
>perhaps more fds will be available in the future.
>
>Brane may have been talking about different cases, though.
>
>
The repro for what I meant is very simple on Windows, if not always 100%
"efficient". Start any Subversion action over svn:// to a Windows
svnserve and kill the client in mid-flight. There's a good chance that
the server will terminate. I haven't had a chance to investigate why,
but this is most definitely a 1.0 issue.

>>PS: Anybody else is - of course - welcome to take Brane's place.
>>
>>
>>
>
>No one can take Brane's place. :-)
>
>
So, are the walls crumbling while I'm a way, or what? :-)

-- 
Brane ÄŒibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 16 11:00:41 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.