On Wednesday 26 August 2009 01:38:29 Daniel Cheng wrote: > On Tue, Aug 25, 2009 at 11:44 PM, Ian Clarke<[email protected]> wrote: > > On Tue, Aug 25, 2009 at 8:51 AM, Matthew > > Toseland<[email protected]> wrote: > >>> It's not a joke but I admit I misunderstood the specification. I was > >>> wondering how to detect the end of a AllData reply and I thought there > >>> would be something such as "EndMessage". > >> > >> No, it ends with the word "Data" on a line by itself and is followed by > >> the data. > > > > To clarify, the plaintext part of the message ends with "Data" on a > > line by itself. > > > > It is followed by the raw data. It is not necessary to specify when > > the raw data ends since its length is provided in the plaintext part > > of the message. > > The current implementation would be confused if you do this: > > ClientPut<CR> > blbarlbalr=...<CR> > blbarlbalr=...<CR> > DataLength=1<CR> > Data<CR> > <LF> > > This should insert a single byte file with <LF>, but it would get confused.
So the problem is we don't assume the client consistently uses the same linefeed marker? File a bug.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
