🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55788

Forecasting the posting's size

#55788
From: Joshua
Date: Sun, 30 Dec 2001 07:55
23 lines
2009 bytes
After the Server receiving POST command from the client,does he have any way
to forecast the size of the article that the client will post?

Usually,the server will dynamically requires memory for caching and
processing the receiving posting.I can't find the grounds for the server to
determine how much memory he has to apply for that?

Yes,most server has his own upper limit of posting. But at extreme
situation,a client can posting a very,very large article(containing
attachment). The server has to receive the whole posting until get the
ending sign string(CRLF.CRLF) before he get a chance to respond the client a
piece of message such as "441 Error.Guy,too big article!". Of course,he can
directly closes the conversation as soon as the upper limit reaches, but as
if that he never get the chance to tell the client what's wrong with him. On
this situation,the client can only receive the last respond from the
server,usually is:"340 post your article,end with <CRLF>.<CRLF>"

Any idea about this? Thanks for any advice.




Technical Details
Message-ID: <a0mi6f$qqr$1@mail.cn99.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!newsfeed.berkeley.edu!ucberkeley!news.bentium.com!news.cn99.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <a0mi6f$qqr$1@mail.cn99.com>
Subject: Forecasting the posting's size
Date: Sun, 30 Dec 2001 15:55:12 +0800
From: "Joshua" <JoshuaIIII@hotmail.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!newsfeed.berkeley.edu!ucberkeley!news.bentium.com!news.cn99.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Bentium Ltd. (CN99)
Lines: 22
NNTP-Posting-Host: 61.156.84.184
X-Trace: mail.cn99.com 1009699856 27483 61.156.84.184 (30 Dec 2001 08:10:56 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Sun, 30 Dec 2001 08:10:56 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200