GNOME Bugzilla – Bug 545220
Infinite loop with server that doesn't support LIST NEWSGROUPS
Last modified: 2009-09-28 20:46:20 UTC
Please describe the problem: If pan connects to a server that responds with 503 to a LIST NEWSGROUPS command, it will keep disconnecting/reconnecting/retrying forever without getting to the point that any newsgroups are shown. Steps to reproduce: 1. Configure news.ecomstation.nl as (only) server. Actual results: pan keeps looping Expected results: pan to become interactive, allowing for the newsgroup list to be shown Does this happen every time? yes Other information: The 503 response means (per RFC 3977 and existing practice - e.g. INN-2.3.1, 7+ years old) "feature not implemented", but for some reason pan has it as ERROR_TIMEOUT (something that doesn't exist in any version of NNTP, or any other *TP protocol as far as I know), and acts accordingly - which is entirely the wrong thing to do, of course. Patch is available and will be attached.
Created attachment 115449 [details] [review] Patch for the mishandling of response code 503
See also http://lists.gnu.org/archive/html/pan-users/2008-07/threads.html#00030 - with walt's analysis of the server behavior that triggered the loop, a fix was trivial.
Fixed in git.gnome.org for 0.134: http://git.gnome.org/cgit/pan2/commit/?id=f0151ad66bc83f18566a7471c08048c77b0b9cf0