On Thu, Mar 23, 2006 at 02:58:10PM +0100, David 'Bombe' Roden wrote: > Hi, tech. > > (I hate InputStreamReaders. They buffer. One time only I want to take > charsets into consideration but, no, the InputStreamReader has to > buffer and break everything. Anyway.)
Try LineInputStream, in freenet/support/io. > > 1) On Get requests there are the parameters MaxSize and MaxTempSize. > What are they for? At least MaxSize does not limit the size of the data > found and/or returned. So what it is for? Well it should! If it doesn't there is a bug. > > 2) Are there still maximum sizes imposed by the node, like the 32k size > limit on SSKs? Or is everything splitted up for me? There are no maximum sizes. CHKs are 32kB, SSKs are 1kB. But the node splits everything automatically. > > 3) ClientPutDiskDir could use a parameter for the default file. From the > TMCI I can see that there already is one but it's not mentioned in the > wiki page. Will fix. > > 4) I insert stuff to SSK at foo,bar/test/1/ but the node swallows > everything after "test". I could insert editions to SSK at foo,bar/1, > SSK at foo,bar/2 but then you couldn't easily have different pages under > the same SSK. How are edition sites inserted, i.e. which URI do they > have? And if I can't specify anything under "test" how do I insert > subdirectories? / indicates a manifest lookup. Use something other than / to denote the edition number. USKs will use internally SSK at foo,bar,bat/test-1/ - I suggest you be compatible with this (or tell me why it's bad). > > 5) The docs should mentioned that a ClientGet with ReturnType=none does > _not_ return the correct length of the data. It does? I'll have a look at that... > > 6) The docs should also mention that in a SimpleProgress message after a > ClientGet request, Succeeded may be larger than Required. Indeed. > > Thanks, > David -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060323/e354baa3/attachment.pgp>
