[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Problems with posting (was: no subject)



krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Cornelius Krasel) writes:

> Detlef Jockheck reported that fetchnews 1.9.17 hangs upon posting
>
> Fetchnews now posts the article ...
>
>> Nov 23 19:53:16 java fetchnews[8805]: >.^M
>
> .. and ends with a single dot on a line, as demanded by the RFC.
>
> Now nothing happens. The correct answer from the upstream server
> should be a line starting with "240". Fetchnews waits for this
> answer and therefore hangs.

If this happens, fetchnews deletes the articles from out.going/
although they haven't been successfully posted. Because fetchnews
links to failed.postings/ only after an error reply from
the server, all unsent articles get lost.

The same will happen if fetchnews receives SIGINT while posting.

Fetchnews should delete from out.going only after postarticles() was
successful at least once. The return value of postarticles() isn't
always correct.

Stefan


-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list