Article View: news.software.nntp
Article #80419Questions about datastream answers (especially to TAKETHIS)
From: Julien ÉLIE
Date: Fri, 20 Mar 2009 20:17
Date: Fri, 20 Mar 2009 20:17
103 lines
3942 bytes
3942 bytes
Hi,
With pipelining:
[C] CHECK <good@mid>
[C] CHECK <good@mid>
[C] CHECK bad-mid
[C] CHECK <another@good-mid>
[S] 238 <good@mid>
[S] 431 <good@mid>
[S] 501 Syntax error in message-ID
[S] 238 <another@good-mid>
431 (defer) for the second one because it has "recently" been sent.
501 (and not 438 -- do not send the article) for the third one because
the syntax of the CHECK command is wrong.
I think we're OK about that.
As for TAKETHIS, what if:
[C] TAKETHIS bad-mid
[C] From: ...
[C] (with a valid article)
[C] .
Such a case is not dealt with RFC 4644. What should be done?
[C] TAKETHIS bad-mid
[S] 501 Syntax error in message-ID
and unfortunately
[C] From: ...
[C] (with a valid article)
[S] 500 What?
[S] 500 What?
[S] 500 What?
[S] 500 What?
[S] 500 What?
and so on...
Or should we wait for the final
[C] .
and then send
[S] 501 Syntax error in message-ID
RFC 3977 states:
For each command, the sequence is as follows:
o The client sends an instance of <command-line>; the syntax for the
EXAMPLE command is <example-command>.
o If the client is one that immediately streams data, it sends an
instance of <command-datastream>; the syntax for the EXAMPLE
command is <example-datastream>.
o The server sends an instance of <response>.
But to what command does the server send a response?
The TAKETHIS command? Or the (TAKETHIS+datastream) command?
It is not clear.
How a news server is it supposed to parse that?
[C] TAKETHIS <good@mid> other arguments
Shouldn't it be 501 too?
Anyway, it would be the behaviour of a server which does not advertise
STREAMING (TAKETHIS would be unknown to it).
I also see that 403 is not a valid answer to TAKETHIS in case the
server does not want to accept or reject the article.
As a matter of fact:
The server MUST return either a 239 response,
indicating that the article was successfully transferred, or a 439
response, indicating that the article was rejected. If the server
encounters a temporary error that prevents it from processing the
article but does not want to reject the article, it MUST reply with a
400 response to the client and close the connection.
I do not understand why 403 would be a problem; only because the sender
will never see the message-ID in "239/439 message-ID"? For backwards
compatibility with RFC 2980 which defined 400 for not accepting articles?
Something else?
--
Julien ÉLIE
« Un petit pås pøur møi, un grånd bønd pøur l'humanité ! » (Kerøzen)
Technical Details
Message-ID:
<gq0tnk$kp3$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!news.trigofacile.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <gq0tnk$kp3$1@news.trigofacile.com> Subject: Questions about datastream answers (especially to TAKETHIS) Date: Fri, 20 Mar 2009 21:17:41 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder1.news.weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 103 NNTP-Posting-Host: aaubervilliers-151-1-14-78.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1237580340 21283 83.114.13.78 (20 Mar 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Fri, 20 Mar 2009 20:19:00 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 X-Original-Bytes: 3756