🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44860

Pipelining IHAVE commands with INN

#44860
From: Curt Welch
Date: Tue, 07 Mar 2000 00:00
49 lines
2448 bytes
I just noticed something interesting last night.

I peer with AOL, and until recently, they have used modified versions
of INN 1.4 for peering.  And I'm still sending news to one of those
machines.  I've been looking carefully at the interaction latley because
I've just switched from Diablo to my own custom news software for
peering.  What I noticed last night was that their servers couldn't
deal correctly with pipelined IHAVE commands.

What I do, is send the first IHAVE:

[c] IHAVE <whatever>

he responds with a send article:

[s] 335

Then I send the article, but follow it with the
next IHAVE without waiting for the response to the
article:

[c] data....
[c] .
[c] IHAVE <nextarticle@some.isp>

When I do that, their server just hangs and never responds.  I'm guessing
that this is because the code looking for the DOT CR LF just doesn't spot
it for some reason (like it only looks at the end of the input buffer
for it?).

If I delay the IHAVE until after the response to the data, and don't
pipeline it, it works fine.

So, my point is, with all the discussion we have had about pipelining
commands with NNTP, here's another real-world example of something that
"should" work, but doesn't.

So is/was this an INN 1.4 bug?  Or is it just a bug in AOLs hacked version
of INN?  Anybody know if INN was every changed to "fix" this?  I'm going to
go off an look at some INN code to see what I can find...

Also, does anyone know if other feeding software tries to pipeline IHAVE
commands like mine does???

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000307112107.524$na@newsreader.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <20000307112107.524$na@newsreader.com>
Subject: Pipelining IHAVE commands with INN
Date: Tue, 07 Mar 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 594307937
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.nntp