From:	AITGW::"G.Huston%AARNET.EDU.AU@VM1.NoDak.EDU" 26-SEP-1991 17:12:41.76
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
CC:	
Subj:	Re: Why the STAT during NNTP_XMIT transfers?

Received: by AITGW.DECnet (utk-mail11 v1.5) ; Thu, 26 Sep 91 17:12:59 EDT
Received: from vm1.NoDak.edu by aitgw.ge.com (5.65/GE Gateway 1.4)
	id AA04292; Thu, 26 Sep 91 17:12:33 -0400
Message-Id: <9109262112.AA04292@aitgw.ge.com>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP R1.2.1MX) with BSMTP id 0226; Thu, 26 Sep 91 16:10:30 CDT
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 4131; Thu, 26 Sep 91 16:10:28 CDT
Date:         Fri, 27 Sep 1991 07:11:48 +1000
Reply-To: G.Huston%AARNET.EDU.AU@VM1.NoDak.EDU
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: G.Huston%AARNET.EDU.AU@VM1.NoDak.EDU
Subject:      Re: Why the STAT during NNTP_XMIT transfers?
X-To:         Earle Ake <ake@DAYTON.SAIC.COM>
X-Cc:         anu-news@vm1.nodak.edu
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@NDSUVM1>
 
>        My NNTP neighbor has asked my why my NNTP_XMIT program sends him
>a "STAT" between news article transmissions.  I looked in the code and it
>seems to use it to determine if the other side is still there.  The problem
>is everyone of these generates an error on his end because "STAT" is a valid
>command and should only be used when a newsgroup has been selected.
>
>        Is there another "NOOP" command that can be used?  What is the real
>reason for the "STAT" command anyway?  Can it just be taken out of the code?
>This is ANU News 6.0-3 with Bill's patches.
 
 
The relevant change was made to newsremclient.c, but not to NNTP_XMIT.C and
NNTP_XFER.C.
 
The line
        else toggle_link();
 
should be commented out in both nntp_xfer.c and nntp_xmit.c
 
This was inserted in the dim dark past to poll the remote side to see if it was
still there. The call is a waste of time as the next IO call will find out
for itself if the remote side has cleared off!
 
Geoff
