> Nono. You misunderstand. The last header is the name of trailing field, which
> can be any string without an "=" or newline in it. The difference was before 
> it
> would assume it had a trailing field if the last header was not EndMessage. 
> Now
> it will assume it has a trailing field only if it has a DataLength and that is
> larger then 0.

The reason I don't like this is because it means that in order to have a
trailing field, you must know its length. Sure, it's good to know the
length. It's sensible to drop messages without a length because they may
be attempts to flood by making the trailing field the entire contents of
/dev/null. However, we don't necessary ALWAYS want to require this. If we
had streaming data, for instance, like teleconferencing, the length of the
data is unknown. So while for some messages we should require a data
length, I don't think we should require it for all messages.



_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to