🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #61494

Re: Problems with LIST ACTIVE Closing Connection

#61494
From: Nick Knight
Date: Fri, 12 May 2000 00:00
40 lines
2575 bytes
In <1eaiydr.1ouc4bz9wlgbdN%planb@newsreaders.com>, on 05/12/2000 
   at 03:24 PM, planb@newsreaders.com (J. B. Moreno) said:

>Alternatively, are you batching the commands or are you simply doing the
>various LIST ACTIVE commands in sequence -- if the latter you might try
>doing the former (this sounds like a problem with the server taking too
>long to prepare the results and the connection timing out before it is
>ready to spit out it's answer, if you have it working on something else
>the timing ought to be different).

Thanks for the response.

I don't think it's a connection timeout issue.  I mean, the "a*" list
fails within 60 seconds, and this after sending some results.  Sometimes. 
So, the server often sends a few blocks of data (my recv() call is
executed a couple of times) and then suddenly errors because the socket is
closed.  I'm supplying a large buffer and I've never seen it get very full
... not that I can recall.

However, I've suspected as you suggest ... that it's something on the
server side shutting down when it seems too large of a list requested. 
But then, why not on my T1 connection here?

It is a synchronized process.  I send a "LIST ACTIVE a*" and then read
from the socket until I get the right "." marker.  If it fails, I resend
the same command (limited by count).  If it succeeds, it goes for "b*".

I have the weekend to play on my "slow" dial-up connection.  I'll
experiment more and watch for more posts, if any.  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: <391c615a$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-mail
References: <391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net> <1eaiydr.1ouc4bz9wlgbdN%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <391c615a$1$avpx$mr2ice@client.ce.news.psi.net>
Subject: Re: Problems with LIST ACTIVE Closing Connection
Date: Fri, 12 May 2000 00:00:00 +0000
From: Nick Knight <nick@secant.com>
References: <391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net> <1eaiydr.1ouc4bz9wlgbdN%planb@newsreaders.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: 622683358
X-Trace: client 958161343 38.194.130.2 (Fri, 12 May 2000 15:55:43 EDT)
NNTP-Posting-Date: Fri, 12 May 2000 15:55:43 EDT
Newsgroups: alt.usenet.offline-reader,news.software.readers