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

Re: Random serf checkout failures

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Tue, 6 Nov 2012 20:33:04 -0500

On Tue, Nov 6, 2012 at 12:13 PM, Lieven Govaerts <lgo_at_mobsol.be> wrote:
> okay, so with the Timeout directive added I can reproduce this issue.
>
> What I see is that the server closes the connection in the middle of
> sending a response to the client. It doesn't even finalize the
> response first.
> So ra_serf is reading the data from the response bucket, but gets an
> APR_EOF when it needs more data than specified in the Content-Length
> header of the response.
>
> What is the expected behavior here, let serf close down the connection
> and try the request again on a new connection?

Sure sounds like an early TCP close causing a lost response. httpd
shouldn't be closing the TCP connection in the middle of the response
as that's not when httpd would evaluate the Timeout directive...but,
if you are going over a loopback connection, I think I've seen Windows
lose bytes...but, I don't think Philip uses Windows...weird - I'd
guess something else is going on. -- justin
Received on 2012-11-07 02:33:35 CET

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