google-code-export / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
1 stars 1 forks source link

Subversion's libsvn_ra_serf hangs on ECONNREFUSED on Windows #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[This issue shadows Subversion issue #3832 - 
http://subversion.tigris.org/issues/show_bug.cgi?id=3832]

The Subversion community's Bert Huijben reports that when, on a Windows 
platfrom, you attempt to use Serf to connect to a service that has not been 
started, Serf hangs indefinitely, recreating the request and connection after 
every failure.  Here his prognosis:

"Apr currently doesn't implement poll for Windows and uses select() instead.  
This way serf only receives a generic error on the connection failure.  Serf's 
outgoing.c (around line 1002) then assumes this as a lingering close issue and 
directly requeues the connection request.  When this issue happens in an 
application using our library, this application gets stuck without an option to 
cancel the request.  In case of AnkhSVN this would require killing Visual 
Studio, losing all unsaved edits."

Original issue reported on code.google.com by cmpilato on 17 May 2011 at 1:08

GoogleCodeExporter commented 9 years ago
See r1470.

Original comment by justin.e...@gmail.com on 25 May 2011 at 1:09