Article View: news.software.readers
Article #81289slrnpull 9.7.1 connection lost - major bug SATISFACTORY WORKAROUND
From: craig baker
Date: Mon, 09 Jul 2001 11:46
Date: Mon, 09 Jul 2001 11:46
53 lines
2796 bytes
2796 bytes
slrnpull 9.7.0a and 9.7.1 clearly have a logic bug and choke and disconnect on a particular message in certain newsgroups, certain servers (with 100% repeatability btw). slrnpull exits after reading headers and reporting say 700 messages, and then going through the 10/700,20/700 etc up to say 500/700 at which point it gives a ***Connection lost message and you lose connectivity with the news server, the rest of the articles from that newsgroup are lost, as well as any other desired newsgroups. A most satisfactory workaround is as follows: go to the src directory edit the file nntplib.c look for the routine check_connect_lost_hook insert a return; statement at the beginning of this routine. exit save and make slrnpull to recompile. copy the slrnpull binary out of src/objs into your slrnpull directory and you're ready to rumble. New (and satisfactory) behaviour: when it gets to the offending message (500/700 in the above example) slrnpull now reports: Server xxx dropped connection. Reconnecting... and slrnpull will now reconnect to the server and BEGIN the article downloads at 500/700 and complete downloading that group, and properly continue to the next group! It may disconnect/reconnect several times but will only lose the ONE offending article the same time - at most. I've not checked to see if it successfully download the choking article yet on the second run, but frankly losing 1/700 is of no concern. losing 200 of them is (not to mention the rest of the slrnpull run). For my own amusement I'll track down just WHAT is going on and why these articles are causing slrnpull to choke and disconnect (although on the least usefull server, I've NEVER seen a disconnect error), and will report the resolution here. But for the time being, slrnpull now functions in a most satisfactory manner.
Technical Details
Message-ID:
<72e507f5.0107090346.1b873f3f@posting.google.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <72e507f5.0107090346.1b873f3f@posting.google.com> Subject: slrnpull 9.7.1 connection lost - major bug SATISFACTORY WORKAROUND Date: Mon, 09 Jul 2001 11:46:35 +0000 From: cdb@cdbsystems.com (craig baker) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail Newsgroups: news.software.readers Organization: http://groups.google.com/ Lines: 52 NNTP-Posting-Host: 199.45.190.209 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 994679196 16921 127.0.0.1 (9 Jul 2001 11:46:36 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 9 Jul 2001 11:46:36 GMT