Article View: news.software.nn
Article #9331Re: Lost connection to NNTP server XYZ: Connection reset by peer
From: Michael T Pins
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
34 lines
2094 bytes
2094 bytes
andrewg@no.spam.please.bsw.co.za (Andrew Gaylard) writes: >I get this error from time to time: >Lost connection to NNTP server news.is.co.za: Connection reset by peer >I suspect that it is because NNTP is timing out, perhaps because of a long >time spent reading an article, or something similar. When it occurs, nn >exits with extreme prejudice. >Is there anything I can do about it? >I am willing to delve into the source, but where do I start? I imagine >that there is a read on a socket which fails; a re-connect should do >it, but reconnecting in a tight loop might be a problem (i.e. it would >hammer the server's NNRP daemon). So a counter would be needed, so that >the number of reconnection attempts would be limited. Any comments? In nn-6.5.x, it's in nntp.c. I "fixed" this in nn7, then discovered my fix can fail rather impressively under certain circumstances. So I still need to fix it. >(Michael, how's nn-7.x coming along?) Slowly, life keeps interfering. I'm still hoping to have the first alpha out by the end of the year. -- ************************************************************************** * Michael T Pins | mtpins@visi.com * * keeper of the nn sources | mtpins@icaen.uiowa.edu * * ftp://ftp.visi.com/users/mtpins | #include <std.disclaimer> *
Technical Details
Message-ID:
<5qlU3.2004$rK2.146503@ptah.visi.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<38215127$0$48232@helios.is.co.za>Show Full Headers
Complete Article Headers
Message-ID: <5qlU3.2004$rK2.146503@ptah.visi.com> Subject: Re: Lost connection to NNTP server XYZ: Connection reset by peer Date: Thu, 04 Nov 1999 00:00:00 +0000 From: mtpins@visi.com (Michael T Pins) References: <38215127$0$48232@helios.is.co.za> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 544514493 X-Complaints-To: abuse@visi.com X-Trace: ptah.visi.com 941744897 209.98.143.84 (Thu, 04 Nov 1999 13:48:17 CST) NNTP-Posting-Date: Thu, 04 Nov 1999 13:48:17 CST Newsgroups: news.software.nn