Article View: news.software.nntp
Article #90782Re: Bug in SLRN trunk: not seen in 1.0.3.
From: Kaz Kylheku
Date: Thu, 14 Sep 2023 03:17
Date: Thu, 14 Sep 2023 03:17
51 lines
2815 bytes
2815 bytes
On 2023-09-13, Ray Banana <rayban@raybanana.net> wrote:
> * Julien ΓLIE wrote:
>> Responding to my previous article:
> [...]
>> I confirm the high water mark does not decrease in the overview data
>> after an expiration run.
>
> That's good to know, as anything else would break the xrefslave feature.
>
> ;-)
In any case, about the slrn behavior, it goes away if I make this change
to the code to disable the use of OVER instead of XOVER.
diff --git a/src/nntplib.c b/src/nntplib.c
index 595c6c8..596a453 100644
--- a/src/nntplib.c
+++ b/src/nntplib.c
@@ -842,12 +842,14 @@ int nntp_has_cmd (NNTP_Type *s, char *cmd)
if (!strcmp (cmd, "XOVER"))
{
if (s->can_xover != -1) return s->can_xover;
+#if 0
if (1 == _nntp_probe_server (s, "OVER")) /* rfc3977 */
{
s->can_xover = 1;
s->xover_cmd_name = "OVER";
return 1;
}
+#endif
return PROBE_XCMD(s, s->can_xover, cmd);
}
It's strange. While there are only junk articles you get the behavior
that it doesn't catch up. Currently there are 5. As soon as a 6th
article shows up that is good, then when I read it, slrn will catch
up and there will be 0 unread.
There must be a protocol level difference between what slrn is getting
from OVER vs XOVER.
I'm suspecting that in the situations in which this manifests itself,
OVER is reporting fewer articles than the watermark, which differs from XOVER.
And then slrn is refusing to catch up beyond what was reported by OVER.
--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.
Technical Details
Message-ID:
<20230913165804.736@kylheku.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<20230911185353.581@kylheku.com> <slrnufvq4m.15l9v.rayban@raybanana.net> <20230911214521.831@kylheku.com> <20230911222037.955@kylheku.com> <877cowj6sm.fsf@hope.eyrie.org> <udpkdo$2sh67$1@news.trigofacile.com> <uds2fp$2ua8g$1@news.trigofacile.com> <slrnug36bf.1uq94.rayban@raybanana.net>Show Full Headers
Complete Article Headers
Message-ID: <20230913165804.736@kylheku.com> Subject: Re: Bug in SLRN trunk: not seen in 1.0.3. Date: Thu, 14 Sep 2023 03:17:04 +0000 From: Kaz Kylheku <864-117-4973@kylheku.com> References: <20230911185353.581@kylheku.com> <slrnufvq4m.15l9v.rayban@raybanana.net> <20230911214521.831@kylheku.com> <20230911222037.955@kylheku.com> <877cowj6sm.fsf@hope.eyrie.org> <udpkdo$2sh67$1@news.trigofacile.com> <uds2fp$2ua8g$1@news.trigofacile.com> <slrnug36bf.1uq94.rayban@raybanana.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: A noiseless patient Spider Lines: 51 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 14 Sep 2023 03:17:04 -0000 (UTC) User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:89g8c8ZyJ2r0+RhPRBeNFuqXg2M=