Thread View: news.software.nn
2 messages
2 total messages
Started by timo.pelkonen
Mon, 30 Sep 1996 00:00
can't nn pssnews.msn.com
Author: timo.pelkonen
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
18 lines
831 bytes
831 bytes
nn to M$ newsserver gives an error: Connecting to NNTP server pssnews.msn.com ... Connecting to NNTP server pssnews.msn.com ... ok (posting is allowed) NNTP 501 Syntax Error in Command response: 501 version is: :version Release 6.5 beta.0 #3 (NOV) suggestions? my guess is that it's this bad boy billy again.. -- timo.pelkonen@hut.fi
Re: can't nn pssnews.msn.com
Author: Henrik Storner
Date: Tue, 01 Oct 1996 00:00
Date: Tue, 01 Oct 1996 00:00
50 lines
2281 bytes
2281 bytes
In <pelle.844111984@snakemail.hut.fi> pelle@banjo.hut.fi (timo.pelkonen) writes:
>nn to M$ newsserver gives an error:
>Connecting to NNTP server pssnews.msn.com ...
>Connecting to NNTP server pssnews.msn.com ... ok (posting is allowed)
>NNTP 501 Syntax Error in Command response: 501
>version is: Release 6.5 beta.0 #3 (NOV)
Ahh - I had the same problem a while back, also with the MS news-server.
As I recall (I am not at work right now, so I cannot check it), the
nntp.c in nn assumes that the response to one of the list commands
may return an error - but checks for only one of the possible nntp error
codes.
Looking through the 6.5.1 sources, the ask_server routine in nntp.c
looks suspicious:
<snip>
response = get_server(buf, sizeof(buf));
/*
* Handle the response from the server. Responses are handled as
* followes:
*
* 100-199 Informational. Passed back. (should they be ignored?).
* 200-299 Ok messages. Passed back.
* 300-399 Ok and proceed. Can not happen in nn.
* 400-499 Errors (no article, etc). Passed up and handled there.
* 500-599 Fatal NNTP errors. Handled below.
*/
if (response == ERR_GOODBYE || response > ERR_COMMAND) {
if (fix_err && response == ERR_FAULT) return ERR_NOGROUP;
<end snip>
ERR_COMMAND is 500, ERR_FAULT is 503. The MS server returns code 501;
I would say that the last line should be
if (fix_err && response > ERR_COMMAND) return ERR_NOGROUP;
--
Henrik Storner | "Life is like a 10 speed bicycle.
storner@osiris.ping.dk | Most of us have gears we never use."
http://eolicom.olicom.dk/~storner/ | C. Schultz
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