Re: BUG REPORT tin 2.0.0 release 20110823 ("Ardenistiel") [UNIX]

Urs Janßen <[email protected]> Wed, 7 Sep 2011 19:48:06 +0200
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On Wed, Sep 07, 2011 at 05:12:33PM +0200, GianPiero Puccioni wrote:
> I tried again and this time I got the error from news.individual.net
> maybe I didn't wait long enough the first time. The log is attached
> 
> It seems that the line .. disconnecting is missing, and just before exiting it
> wrote "NNTP connection error" in the terminal window, and no "reconnecting" in
> the groups screen as before.
[...]
> nntp_command(NEWGROUPS 110907 154632)
> >>> NEWGROUPS 110907 154632
> <<< 231 New newsgroups follow.
> nntp_command(NEWGROUPS 110907 154632) OK
> nntp_command(LISTGROUP comp.lang.fortran)
> >>> LISTGROUP comp.lang.fortran
> 

"NNTP connection error" is issued by tin if tin is waiting for data (in this
case the response for LISTGROUP comp.lang.fortran) from the server but there
is no response. tin waits NNTP_READ_TIMEOUT secs (usualy set to 120; this
can be changed at compile time in include/nntplib.h) and if there is no
reaction from the server it exits (there is not much more we can do, the
server didn't close the connection but doesn't give us any feedback and it
also won't take a new cmd. till the the last issued finished. we could of
course hard close the connection and reopen it but that won't make the
server faster and we will ran into the same problem again...).

solution for you:

increase NNTP_READ_TIMEOUT in include/nntplib.h (~line 53).

HTH,
urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus