On Sunday 19 October 2008 14:53, Daniel Cheng wrote: > On Sun, Oct 19, 2008 at 9:32 PM, <j16sdiz at freenetproject.org> wrote: > > Author: j16sdiz > > Date: 2008-10-19 13:32:27 +0000 (Sun, 19 Oct 2008) > > New Revision: 23010 > > > > Modified: > > trunk/freenet/src/freenet/support/io/ArrayBucket.java > > Log: > > Don't append for ArrayBucket > > - see http://archives.freenetproject.org/message/20081014.143053.dd1d17ba.en.html > > > > I have done some insert/request test. Everything seems fine. > > PaddedEphemerallyEncryptedBucket throws IOException if we call > getOutputStream() twice -- do we want to do the same for ArrayBucket?
It is legitimate to overwrite it, but opening two output streams in parallel to the same bucket is bad. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20081021/b3943209/attachment.pgp>
