Article View: news.software.readers
Article #61524Re: Problems with LIST ACTIVE Closing Connection
From: Nick Knight
Date: Sat, 13 May 2000 00:00
Date: Sat, 13 May 2000 00:00
52 lines
3232 bytes
3232 bytes
In <20000513082418.620$fL@newsreader.com>, on 05/13/2000
at 12:24 PM, curt@kcwc.com (Curt Welch) said:
>Does your application ever try to read a large article? You should see
>the same problem there and in that case there is no way to work around it
>because there are no options in NNTP for reading only part of the body.
I have never seen a problem with fetching a large article, nor ever had
one reported. However, I probably should test this via a couple of binary
newsgroups, eh?
>If you read large articles, and don't see the problem, then you have a
>very strange bug in your code which reads the LIST ACTIVE data. To the
>news server and to TCP/IP, there is no difference between LIST ACTIVE and
>ARTICLE 12345.
See, your notion that it was in dialup settings appealed to me. I mean, I
wanted to believe it was in my code; that's why I was asking. However, I
described in my original post that I could telnet to the newsserver, type
"LIST ACTIVE" and within a short amount of time, would lose the
connection.
I do, sometimes, now that I checked, get short, unterminated XOVER
responses. Same thing. This was easy to code around and I did this some
time ago. I'll have to revisit this (via telnet) and make sure it's the
same exact thing, but I'll bet it is.
I'll do more playing, but I'll also investigate settings at the
dialup-answer end, and ask more questions about our firewall/gateway. I'm
reluctant to call THAT the problem, as it's the same transport path
whether I'm at work (fast, always works) or home (dialup through a work
machine). Perhaps it's some odd buffer size combination/conflict. Since
it isn't unqiue to my settup, I'll have to continue to explore coded
solutions ("work arounds") too.
I mean, what kinds of bugs can I have with a simple call to recv() in a
loop? I guess I can study the code around it, but there isn't much! I'll
take a look, and perhaps I'll code up a very simple program test problem
without ANY overhead, that just collects the results of a LIST ACTIVE.
Thanks again.
Nick
--
-----------------------------------------------------------
Nick Knight <nick@secant.com> http://nick.secant.com
Senior Software Engineer
Secant Technologies, Inc. http://www.secant.com
-----------------------------------------------------------
Technical Details
Message-ID:
<391d5e43$1$avpx$mr2ice@client.ce.news.psi.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net> <20000512204628.625$Tz@newsreader.com> <391cb8f8$1$avpx$mr2ice@client.ce.news.psi.net> <20000513082418.620$fL@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <391d5e43$1$avpx$mr2ice@client.ce.news.psi.net> Subject: Re: Problems with LIST ACTIVE Closing Connection Date: Sat, 13 May 2000 00:00:00 +0000 From: Nick Knight <nick@secant.com> References: <391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net> <20000512204628.625$Tz@newsreader.com> <391cb8f8$1$avpx$mr2ice@client.ce.news.psi.net> <20000513082418.620$fL@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 622933130 X-Trace: client 958226274 38.194.130.2 (Sat, 13 May 2000 09:57:54 EDT) NNTP-Posting-Date: Sat, 13 May 2000 09:57:54 EDT Newsgroups: alt.usenet.offline-reader,news.software.readers