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

Serf gets stuck on ECONNREFUSED on Windows

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 10 Mar 2011 20:18:02 +0100

                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-03-10 20:18:52 CET

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