GNOME Bugzilla – Bug 353486
server connection(s) screw up after pan's been open a while
Last modified: 2006-09-10 06:01:46 UTC
Please describe the problem: When pan has been open a while with no activity and I try to do something that uses the network connection (e.g. by fetching a post or new headers), it fails. Although the box in the bottom left indicates pan has established a connection (it displays 1 @ <speed>), hovering my mouse over it displays "-1 idle, 0 active" (the minus isn't a typo) and the action never seems to complete. I have 2 news server profiles, one for my ISP and one for EasyNews. My ISP's server doesn't require authentication whereas EasyNews does. My ISP's server is set to primary and EasyNews to fallback. I'm using pan 0.110. Steps to reproduce: 1. Start pan. 2. Use it for a while. 3. Leave it running idle for an extended period of time. Actual results: Expected results: Does this happen every time? Other information:
0.109 does not seem to have this problem.
I've jsut seen a simialr problem with .110. When the connection was lost during xover pan reported -1 idle & 1 active connections.
I've just found what looks like the cause of the -1 idle, 1 active problem. NNTPPool does not decrement the active counter when a socket is closed with an error. nntp-pool.cc: NNTP_Pool::check_in line 96 should be --_active_count; if (is_ok) {
Great catch. Thanks!
*** Bug 354779 has been marked as a duplicate of this bug. ***
*** Bug 355142 has been marked as a duplicate of this bug. ***