Article View: news.software.nntp
Article #16867Re: bug in INN1.4unoff4 streaming code
From: Jerry Aguirre
Date: Wed, 09 Apr 1997 00:00
Date: Wed, 09 Apr 1997 00:00
35 lines
2384 bytes
2384 bytes
In article <01bc4481$01766ea0$1f8fe680@spring>, Chris Sedore <cmsedore@maxwell.syr.edu> wrote: > >I noted that with my latest build of NNTPRelay, which dynamically adjusts >the number of outgoing checks downward in the case of a high percentage of >late refusals, that upon reaching a check window of 1 and reverting to >IHAVE, that INN1.4 continues to return 239 instead of 235 for successfully >transmitted articles. I can well believe this. I never considered that anyone whould mix check and IHAVE in the same connection. In effect you did a "mode stream" to go into check/takethis mode and then decided later to revert without telling the server. Did you do a "mode ihave" to revert back? Alright, there is no "mode ihave" command but if your going to switch back then you should create one! As an implementation detail the server doesn't actually change when a "mode stream" is done. But when the first "check" or "takethis" is done the server allocates a structure to keep track of the message-ID. The presense of that structure is used later to tell if the connection is streaming. Why do you want to revert to IHAVE mode? The check/takethis mode is a superset of IHAVE. If you run check/takethis waiting after each command for the response then you have the same functionality that using IHAVE would achieve. What advantage do you think that IHAVE is giving you? How are you telling a "late refusal" from other errors? In debugging the code a lot of rejected articles were from unwanted newsgroups, too old, header errors, etc. As I recall the server has two response codes, accepted, and rejected. Sending one at a time will not help you to avoid sending articles that are rejected for the above reasons.
Technical Details
Message-ID:
<5igq95$2mk$1@fes.whowhere.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-mailReferences:
<01bc4481$01766ea0$1f8fe680@spring>Show Full Headers
Complete Article Headers
Message-ID: <5igq95$2mk$1@fes.whowhere.com> Subject: Re: bug in INN1.4unoff4 streaming code Date: Wed, 09 Apr 1997 00:00:00 +0000 From: jerry@rigel.whowhere.com (Jerry Aguirre) References: <01bc4481$01766ea0$1f8fe680@spring> 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: 231867490 Distribution: inet Summary: don't mix CHECK and IHAVE Organization: WhoWhere?; Mt. View, CA USA Newsgroups: news.software.nntp