Article View: news.software.nntp
Article #61158Re: [FNTP] 'in-completeness'
From: Curt Welch
Date: Tue, 08 Oct 2002 00:22
Date: Tue, 08 Oct 2002 00:22
30 lines
2804 bytes
2804 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > the flow of data in an NNTP connection is very lopsided, generally > there will be little traffic in the opposite direction. this makes it > easier to keep the input drained while the output pipe is full. yes, > the code needs to move data from the implicit queue which is the > kernels TCP buffers into an explicit queue in order to see and process > the ABORT. when an ABORT comes in, the server should see if it is the > currently processed request, or look through the queue for pending > commands (a simple text comparison). > > the code should be simple enough, but one must take care to keep the > number of extra syscalls (select/poll/gettimeofday) down. My server is already structured to deal with that with no delays. That wasn't my point. My point is that when the sender gets the abort request (which will be very quickly), there will be a huge amount of data in the pipe going the other way (100K is not unresonable between the application output queues, the TCP IP stack, the net, the receiving TCP/IP statck, and the application input queues). I just think it's silly to try and abort output when the data won't stop for 100KB. I think you need to find a way to prevent it from being sent in the first place if you really don't want it that bad. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021007202255.909$dl@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!grr!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<58068.n92202@archiver.winews.net> <yl7kgyrpwd.fsf@windlord.stanford.edu> <Xns929DD03393AD4nothing@209.98.50.131> <yl4rc1ixdo.fsf@windlord.stanford.edu> <upsas7o7bbvf8e@corp.supernews.com> <1r8z1dadsi.fsf@atta.ifi.uio.no> <20021005024551.258$wO@newsreader.com> <1rvg4e8yeq.fsf@vingodur.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <20021007202255.909$dl@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Tue, 08 Oct 2002 00:22:56 +0000
From: curt@kcwc.com (Curt Welch)
References: <58068.n92202@archiver.winews.net> <yl7kgyrpwd.fsf@windlord.stanford.edu> <Xns929DD03393AD4nothing@209.98.50.131> <yl4rc1ixdo.fsf@windlord.stanford.edu> <upsas7o7bbvf8e@corp.supernews.com> <1r8z1dadsi.fsf@atta.ifi.uio.no> <20021005024551.258$wO@newsreader.com> <1rvg4e8yeq.fsf@vingodur.ifi.uio.no>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!grr!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com thcotCZ=VwKbn37,2XJgDrF6,iTVpQR3htJ6ZXZ8K6AHqL8fv
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-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 29