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

Re: [leafnode-list] Can fetchnews un-buffer stdout?

Matthias Andree <ma@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:

>> Note that leafnode's NNTP output should not be completely
>> line buffered.
> I don't get that. NNTP is a line based protocol.

Line buffering means each line is transmitted as a separate network
packet. Normally, as much data as fits into MTU will be stuffed into a
single packet. That's why leafnode has to fflush() its output after
a reply is completed.

All commands that transmit large amounts of data may suffer from line
buffering because it increases overhead.

How much this slows down transmission depends on the type of network.


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