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

confirmation on ECONNRESET

From: Scott Cooper <scott@iguana.co.nz>
Date: Wed, 27 May 1998 15:52:08 +1200
Message-Id: <3.0.32.19980527155207.009355a0@mail.iguana.co.nz>
To: www-lib@w3.org
hello, i have a quick question:

what do you do when you get a ECONNRESET when reading from your http server
socket?

if the correct answer is 'kill the request, close the socket, forget about
it' then i'll be happy.

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
data).

i've seen code in libwww and jigsaw referring to a RESET but i can't find a
decent description of what it means (in the context of serving http).

tia
-scott.
---------------------------------------------------------------------
Iguana Information Services 		Ph    +64 4 499 9782
PO Box 10 609				Fax   +64 4 499 4439
Wellington				Email scott@iguana.co.nz
New Zealand				HTTP  http://www.iguana.co.nz
Received on Tuesday, 26 May 1998 23:53:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT