🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Henrik Storner Thu, 20 Oct 1994 11:46
Bug in nn 6.5.0.b3: Cannot talk to old (1.5.11) nntp servers
#6582
Author: Henrik Storner
Date: Thu, 20 Oct 1994 11:46
17 lines
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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads