Thread View: news.software.nn
2 messages
2 total messages
Started by Andrew Gaylard
Thu, 04 Nov 1999 00:00
Lost connection to NNTP server XYZ: Connection reset by peer
Author: Andrew Gaylard
Date: Thu, 04 Nov 1999 00:00
Date: Thu, 04 Nov 1999 00:00
27 lines
1368 bytes
1368 bytes
Hi nn people, 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? (Michael, how's nn-7.x coming along?) Thanks -- -- Andrew Gaylard andrewg @ bsw . co . za
Re: Lost connection to NNTP server XYZ: Connection reset by peer
Author: 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> *
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads