Subject: [libssh2] pushing local stability/performance patches upstream

[libssh2] pushing local stability/performance patches upstream

From: Mikhail Gusarov <mgusarov_at_swsoft.com>
Date: Mon, 27 Nov 2006 13:37:46 +0600

Hi,

I've recently pushed several patches dangling in our local repository
for a year. Please check don't they break something for you (we use
them on Linux, FreeBSD and MacOSX without problems, but anyway...)

The patches:

* src/packet.c 1.38 - making sure write(2) writes full buffer
  (write(2) has been observed to write only part of buffer on FreeBSD)

* src/packet.c 1.39 - reading bigger blocks from
  network. Significantly improves performance due to lesser syscalls
  (and probably it influences the TCP window changes too). This is a
  temporary measure while libssh2 is mostly synchronous.

* src/packet.c 1.40 - improves detection of closed channel. Without
  this change libssh2 hung when opening and closing many channels in
  single SSH session.

-- 
Mikhail Gusarov
Senior Software Engineer
SWsoft, Inc.
JID: dottedmag_at_jabber.dottedmag.net
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2006-11-27