🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69662

Re: POST -> no response, but message is posted.

#69662
From: Juergen Helbing
Date: Sun, 08 Aug 2004 06:49
38 lines
2406 bytes
Florian Zschocke <edv@zschocke-berlin.de> wrote:

>sometimes if I post a new message I don't get a 240.... response from the server. If I 
>write the post command on the socket, the server replies with "340 desired <message 
>id>". I send the message to the server - but sometimes there is no response. Is that 
>"normal" when the server is perhaps too busy ? Or is that a error in my socket 
>communication(it works fine in all other cases)? Perhaps I have to wait for the 
>answer ? 

Perhaps you are switching your sockets between sync and async operation.
Then it might happen that data is lost in your programming logic.

Beside this I've never seen a major host (or server software) which
has problems to send the 340 response.
The only thing which happens _often_ is that the 340 response comes
very delayed (up to 30-60 seconds). Busy posting servers need a long
time for the POST to be finished.
In this case you might not wait long enough for the reply and time out.  


>What can I do if I want to have a queue for outgoing messages and want to prevent that a 
>message is send twice. Could I use the delivered message-id and ask the server if he 
>has that message ? 
>Thank you for your time and help
>Florian

I am having the best experience with creating own message-ids and
doing a STAT <msgid> command before I post a message. This is
very similar to a 'simulated IHAVE' and works on nearly all hosts
because newarly all of the host are accepting preloaded Message-ID
headers nowadays.

HTH
-- 
Juergen
--------------------------
MyNews for Windows: www.winews.net
Technical Details
Message-ID: <40498.88420s@liebchen.winews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
References: <41134b15$0$7310$9b4e6d93@newsread2.arcor-online.net>

Show Full Headers
Complete Article Headers
Message-ID: <40498.88420s@liebchen.winews.net>
Subject: Re: POST -> no response, but message is posted.
Date: Sun, 08 Aug 2004 06:49:40 +0000
From: archiver+nsn@i3w.com (Juergen Helbing)
References: <41134b15$0$7310$9b4e6d93@newsread2.arcor-online.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - www.altopia.com
Lines: 38
X-Newsreader: MyNews