Oskar Sandberg <md98-osa at nada.kth.se> wrote:
> This would be an absolute limit, so having it configurable makes no
> sense. If somebody sets it down, there node would be very broken indeed
> since it would be unable to pass DataReply's that other nodes expected it
> to. 
> 
> The absolute limit for the length of data has to be one of the things that
> define being a Freenet node, so that nodes that don't have the same limit
> as others can simply be considered broken.

It feels like a bad design choice to arbitrarily set a fixed upper limit to
the size of data.  ("No one will ever need more than 640K of memory...")
Why do we need one?

If you don't have enough temporary space to store a reply, can't we fall
back to streaming it directly from the in-socket to the out-socket (the way
we did in the beginning) instead of writing it to disk?

theo


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

Reply via email to