That is is a good point. But on the other hand, streaming data will require changes to the protocol anyways. I think we would probably need a field like "StreamingData=true" or something for that, and that could override the absence of a DataLength field.
On Mon, 08 May 2000, Brandon wrote: > > 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 -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
