Re: NNTPC: newsreader hangs connecting nntpcache-host v 2.2b5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"ing. mayer hans" <mayer@bfl-sg5.bfl.at> writes:

> hi julian ! 
> 
> this is the *.debug syslog after signal -2 
> and starting trn from a remote server 
> 
> 
> Jan 18 18:55:59 bfl-sg5 nntpcached[2609]: nntpcache.c:385: starting client task
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: client task awakening
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: bfl-sc1 connect from unknown@bfl-sc1 (192.168.5.2)
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: sockets.c:401: <- MODE READER
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: sockets.c:401: <- list active control
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: sockets.c:401: <- XOVER
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: sockets.c:401: <- LIST overview.fmt
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: list.c:588: sending overview.fmt
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: sockets.c:401: <- XTHREAD DBINIT
> Jan 18 18:55:59 bfl-sg5 nntpcache-client[2642]: sockets.c:105: connected to NNTP server news.austria.eu.net. as DEFAULT
> Jan 18 18:56:00 bfl-sg5 nntpcache-client[2642]: sockets.c:437: => [news.austria.eu.net.] XTHREAD DBINIT
> 
> and this is the point, where everthing hangs. 
> after several minutes of wait i kill trn.

Here's the fix:

in src/nntpcache.c client_cmd(), remove these two lines:

    if (!cmd->cmd)
	return relay_unknown (buf);

Cheers,
Julian.


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux