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

Re: [PATCH] fix non interruptable hang in svn client when connecting

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-08-25 18:06:48 CEST

On Thu, Aug 25, 2005 at 05:39:01PM +0200, Yun Zheng Hu wrote:
> If we dont set a timeout, the apr_connect function will use a blocking
> socket connect but does not timeout if the user sent an interrupt (the
> bug).
> If we do set a timeout it will be a nonblocking connect, and resort to
> apr_poll for proper timeout (see apr/network_io/unix/sockets.c).

It sounds as though you're saying that the Mac OS X (blocking) version of
connect() will hang the process and make it unkillable if you send it a
SIGINT while it's waiting for a connection to complete.

That seems pretty weird to me - is that really what's happening? (although
I must admit that I don't understand how the process could block SIGKILL


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 25 18:07:41 2005

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.