www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: The little SFTP flaw I found

Re: The little SFTP flaw I found

From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 14 Dec 2010 22:11:57 +0100

Jose Baars wrote:
> Maybe consider changing the linked list in a pre allocated array
> where the index has a direct relation to the sequence number
..
> It will use a bit more memory, but a lot less CPU,

It's a solid optimization in many cases, but the impact obviously
depends on list length. I guess we don't have many enough packets
on that list in libssh2 for the list itself to be a problem, or..?

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-14

the libssh2 team