Article View: news.software.nn
Article #6582Bug in nn 6.5.0.b3: Cannot talk to old (1.5.11) nntp servers
From: Henrik Storner
Date: Thu, 20 Oct 1994 11:46
Date: Thu, 20 Oct 1994 11:46
17 lines
1555 bytes
1555 bytes
There appears to be a bug in the nntp code in nn 6.5.0.b3 (haven't
checked if it has changed since 6.4.18).
The bug only appears when talking nntp with an old server, that does not
support the 'list active.times' command. The error code returned by the
server to nn is 501 (command syntax error), which causes nn to abort.
This happens around line 555 in nntp.c, that look like this:
if (response == ERR_GOODBYE || response > ERR_COMMAND) {
if (fix_err && (response == ERR_FAULT))
return ERR_NOGROUP;
The 'ERR_FAULT code should be 'ERR_CMDSYN'; this is what is actually returned
by the server when encountering a bad 'list' request.
--
Henrik Storner (storner@olicom.dk)
Technical Details
Message-ID:
<storner.782653564@olicom>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!malgudi.oar.net!news.ysu.edu!news.cps.udayton.edu!cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!EU.net!sunic!trane.uninett.no!eunet.no!nuug!dkuug!olicom!stornerShow Full Headers
Complete Article Headers
Message-ID: <storner.782653564@olicom> Subject: Bug in nn 6.5.0.b3: Cannot talk to old (1.5.11) nntp servers Date: Thu, 20 Oct 1994 11:46:04 +0000 From: storner@olicom.olicom.dk (Henrik Storner) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!malgudi.oar.net!news.ysu.edu!news.cps.udayton.edu!cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!EU.net!sunic!trane.uninett.no!eunet.no!nuug!dkuug!olicom!storner Newsgroups: news.software.nn Organization: Olicom A/S Lines: 17 NNTP-Posting-Host: eolicom.olicom.dk Summary: A bug in nn prevents use of it with old nntp servers Keywords: bug, nntp, list actives.times