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

Re: [PATCH] Handling aborted connections with ra_serf?

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-10-30 01:52:56 CET

On 10/29/06, Justin Erenkrantz <justin@erenkrantz.com> wrote:
[snip]
>
> Note that on Win32, this RST yields an aborted TCP connection -
> however, unlike Unix, Win32 doesn't treat this any differently than a
> normal FIN-driven close. So, instead of getting something like
> ECONNRESET, Winsock just treats it as a normal EOF. But, on Linux
> variants, it's handled slightly differently as we have the ECONNRESET
> hint - so serf already has logic in place to silently retry the
> aborted connection and requeue all outstanding requests - i.e. the
> user doesn't have to do anything special - we already just retry on
> Linux/POSIX platforms that give us that hint...

Is that an APR issue? I've never seen RST packets cause a session to
end 'normally' on Win32 -- ie, recv returns 0 on normal FIN-EOF, and
-1 on an RST or other error.

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 30 01:53:12 2006

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.