--- libwww/Library/src/HTReader.c 1996/08/19 18:30:57 2.7 +++ libwww/Library/src/HTReader.c 1996/08/21 14:10:31 2.8 @@ -3,7 +3,7 @@ ** ** (c) COPYRIGHT MIT 1995. ** Please first read the full copyright statement in the file COPYRIGH. -** @(#) $Id: HTReader.c,v 2.7 1996/08/19 18:30:57 frystyk Exp $ +** @(#) $Id: HTReader.c,v 2.8 1996/08/21 14:10:31 frystyk Exp $ ** ** HISTORY: ** 6 June 95 HFN Written @@ -113,7 +113,11 @@ PRIVATE int HTReader_read (HTInputStream NO, "NETREAD"); return HT_ERROR; } +#ifdef ECONNRESET } else if (!b_read || socerrno==ECONNRESET) { +#else + } else if (!b_read) { +#endif HTAlertCallback *cbf = HTAlert_find(HT_PROG_DONE); if (PROT_TRACE) HTTrace("Read Socket. FIN received on socket %d\n", soc);