On Sat, 29 May 2010 15:56:29 Matthew Toseland wrote:

> Sorry for the delay, been busy. Please fight me wherever I am wrong,
> inform me wherever I am misunderstanding etc.
> 
> On Monday 24 May 2010 12:09:36 Martin Nyhus wrote:
> > Except moving the FNP code, the only structural change I can think
> > of right now is moving the block transfer code, but as you mention,
> > it should wait until after the packet format is done. I haven't
> > looked closely at the crypto code yet, so I might need to do
> > something there.
> 
> Well can you give me a reasonable idea of what FNP code you are
> proposing to move? I am concerned that we not rewrite stuff
> unnecessarily?

There isn't a whole lot that has to be moved, and it should be fairly
easy to do so. What I would like to move is sendAsync(), the message
queue, requeueMessageItems(), maybeSendPacket() and some small methods.
Basically something like [0], but with proper synchronization etc. IMHO
it should be possible to do all of this while only rewriting minor
pieces.

[0]
http://github.com/zidel/fred-staging/commit/42ea5e9d700c21a2e2f3627dc6fefc13c3d1be67
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100530/06f8d4f9/attachment.pgp>

Reply via email to