Save up multiple small refunds in order to cut down on unnecessary WINDOW_ADJUST packets

This commit is contained in:
Sara Golemon
2005-05-18 17:08:29 +00:00
parent 7502920c7f
commit cc7703092f
4 changed files with 56 additions and 42 deletions

View File

@@ -113,6 +113,7 @@ struct _LIBSSH2_CHANNEL {
int blocking;
libssh2_channel_data local, remote;
unsigned long adjust_queue; /* Amount of bytes to be refunded to receive window (but not yet sent) */
LIBSSH2_SESSION *session;