Article View: news.software.nntp
Article #87618New draft for Cancel-Lock (Comments in CFWS) (was: New draft for Cancel-Lock)
From: Michael Bäuerle
Date: Sat, 11 Mar 2017 11:47
Date: Sat, 11 Mar 2017 11:47
64 lines
3744 bytes
3744 bytes
Michael Bäuerle wrote: > > [...] > I have pushed back the CFWS issue, but the rest of your suggestions > should now (hopefully) be included in Version 2: > <https://tools.ietf.org/html/draft-baeuerle-netnews-cancel-lock-02> The list of changes was already too long, but now back to the comments in CFWS: With the new multi-lock example from Version 2: | | Cancel-Lock: sha-256:s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc= | sha-256:RrKLp7YCQc9T8HmgSbxwIDlnCDWsgy1awqtiDuhedRo= | sha1:bNXHc6ohSmeHaRHHW56BIWZJt+4= the current syntax would also allow this (semantically equivalent): Cancel-Lock: sha-256:s/pmK/3grrz++29ce2/mQydzJuc7iqHn1nqcJiQTPMc= (created by poster) sha-256:RrKLp7YCQc9T8HmgSbxwIDlnCDWsgy1awqtiDuhedRo= ( sha-256:really?) sha1:bNXHc6ohSmeHaRHHW56BIWZJt+4= (created by injecting agent (for backward compatibility (but nested comments are ugly to parse))) (and comments in general are ugly to parse, e.g. because of "quoted-pair"s like \\\)) I fully agree with Julien, that it would be good to forbid such things. The article format is already ugly enough. Arguments to forbid comments: - Easier to parse - Comments are not widely used - If articles with "Cancel-Key" header field really must be buffered (because the target article has not arrived yet), there is the possibility that such fields are parsed several times (for every accepted article in worst case for a bad implementation). => Easier to parse is faster to parse and consumes less ressources. - The document from Simon was only a draft, never a standard Argument to preserve comments: - Backward compatibility As noted in my other article I received many comments from the german hierarchy that backward compatibility should be considered as very important. Therefore we should think twice before removing something that was allowed in the past. I see no way to solve the backward compatibility problem without defining the current syntax as mandatory for the old SHA1 scheme in Section 6. But this would limit the new syntax to the new SHA2 scheme. And because a new parser must understand both, an implementation can not really benefit from the potential advantages listed above. Have I overlooked another option? If not, is it nevertheless worth to change the syntax? (say for a far future when SHA1 was eventually obsoleted - with the new self-controlled IANA registry, this would be possible without touching the Cancel-Lock draft/RFC again) [Subject changed to tag the discussion in this subthread CFWS related]
Technical Details
Message-ID:
<AABYw+PX0vUAAEqU.A1.flnews@WStation4.micha.freeshell.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pu2k$759$1@news.trigofacile.com> <AABYwvMiE4UAAAm9.A1.flnews@WStation5.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <AABYw+PX0vUAAEqU.A1.flnews@WStation4.micha.freeshell.org> Subject: New draft for Cancel-Lock (Comments in CFWS) (was: New draft for Cancel-Lock) Date: Sat, 11 Mar 2017 11:47:35 -0000 From: Michael Bäuerle <michael.baeuerle@gmx.net> References: <AABYvbRwKe8AABT3.A1.flnews@WStation5.stz-e.de> <o9pu2k$759$1@news.trigofacile.com> <AABYwvMiE4UAAAm9.A1.flnews@WStation5.stz-e.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Lines: 62 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net 5e+c85shGDZwC9+0QGKhfQK+IFn27WPVirv79xvnQm7SyP+huI X-Orig-Path: not-for-mail Cancel-Lock: sha1:ApF4fuP1K+E3oQuJDehvIYgJZMc= sha1:myNp9HUSuJE9RNfQXEfMhZNxMsQ= Injection-Date: Sat, 11 Mar 2017 11:47:35 -0000 User-Agent: flnews/0.14 (for AIX) X-Received-Body-CRC: 2883009911 X-Received-Bytes: 3635