Re: NNTPC: \r\n in nntpcache

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

 



> Hi:
> 	I've inadvertently discovered that INN does not print '\r\n'
> as nntpcached currently does.  I thought that it was supposed to print
> '\r\n' because nntpcached did it:) What does the RFC say about this?

RFC says \r\n. If you look at the inn source you will see that it also
does \r\n, so I'm a little puzzeled myself.

> (I found out by doing a diff through cat -v between the output from an
> INN server and an nntpcached server and was puzzled at the sporadic ^M's.)
> 
> PS Julian, did you see my mail about outbuf_used not being reset in xover.c?

Yes. Fixed, although I'm not convinced it was broken ;)

> PPS There's still a problem in CMDarticle when an alternate server is used
> for getbyid and the function does not reset CurrentScfg after the transfer
> causing subsequent "Bad articles", etc.  Is it OK to just reset CurrentScfg
> at the end of CMDarticle?

No. The idea is that if a getbyarticleid was performed sucessfully the
previous time CMDarticle was called, then when it is called the second time,
the chances are that the second article will be on the same server as the
first. This saves scanning the available servers for the article ID. It
is primarily for this reason that there is a CurrentScfg as well as a
CurrentGroupScfg, although from what you say, the mechanism isn't working
100% correctly. I've now added a CurrentIDScfg, which points to the
last successfully handled <msgid> server.

-- 
"Of all tyrannies a tyranny sincerely  exercised for the good of its victims  
 may be the most  oppressive.  It may be better to live under  robber barons  
 than  under  omnipotent  moral busybodies,  The robber baron's  cruelty may  
 sometimes sleep,  his cupidity may at some point be satiated; but those who  
 torment us for own good  will torment us  without end,  for they do so with 
 the approval of their own conscience."    -   C.S. Lewis, _God in the Dock_ 
+---------------------+--------------------+----------------------------------+
|Julian Assange RSO   | PO Box 2031 BARKER | Secret Analytic Guy Union        |
|proff@suburbia.net   | VIC 3122 AUSTRALIA | finger for PGP key hash ID =     |
|proff@gnu.ai.mit.edu | FAX +61-3-98199066 | 0619737CCC143F6DEA73E27378933690 |
+---------------------+--------------------+----------------------------------+


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux