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

Re: Serf gets stuck on ECONNREFUSED on Windows

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Tue, 24 May 2011 15:10:46 -1000

See r1470 of serf - this should stop the infinite loop.

As I don't have a Windows build environment, I'd appreciate if you can
confirm if this resolves the issue.

Thanks for the report! -- justin

On Thu, Mar 10, 2011 at 9:18 AM, Bert Huijben <bert_at_qqmail.nl> wrote:
>                Hi,
>
>
>
> On Windows serf doesn't see the difference between a failed connect and a
> lingering close. This causes serf to automatically reconnect. See
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=3832 for a few more
> details.
>
>
>
> Reproduction:
>
> svn ls http://127.0.0.1:23456/svn
>
>
>
> On FreeBSD this gives a proper 'Connection Refused' error, but on Windows
> the application just gets in a loop.
>
>
>
> I found this issue because this sometimes causes the buildbot to get stuck
> when the httpd instance crashes on some assertion.
>
>
>
> Once I start using 1.7.0 for real use this problem will be much worse
> because there is no clean way to get out of this error. (Only killing the
> application works; which would include losing work for Subclipse and AnkhSVN
> users).
>
>
>
> Either Serf should detect the right error, or Apr should implement a real
> poll handler on Windows (available since Windows Vista) which should provide
> more error information.
>
>
>
>                Bert
>
>
>
>
>
>
Received on 2011-05-25 03:11:13 CEST

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.