W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1998

Re: confirmation on ECONNRESET

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 27 May 1998 17:58:37 -0400
Message-Id: <>
To: Scott Cooper <scott@iguana.co.nz>, www-lib@w3.org
At 15:52 5/27/98 +1200, Scott Cooper wrote:
>hello, i have a quick question:
>what do you do when you get a ECONNRESET when reading from your http server
>if the correct answer is 'kill the request, close the socket, forget about
>it' then i'll be happy.

It depends - if pipelining requests then libwww recovers the connection.
Otherwise, it closes the connection. You can find the descriptions in the
implementations of


>but why would 5% of my requests suffer this fate during header reading, but
>less than .5% during the (much longer?) post reading phase (for the simple
>case of an http 1.0 server reading headers, thinking about it, then sending

I am not quite sure what you mean by this - do you have some traces?

Henrik Frystyk Nielsen,
World Wide Web Consortium
Received on Wednesday, 27 May 1998 17:58:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC