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

Archive Index This month's Index

Subject: Patch - datacount

Patch - datacount

From: Ji evk <jsevcik14_at_gmail.com>
Date: Wed, 27 Nov 2013 19:19:28 +0100

For monitoring of the total count of transferred data during the connection
tto the server, we created patch that added two functions:
libssh2_session_recv_data(LIBSSH2_SESSION *session) and
libssh2_session_recv_data(LIBSSH2_SESSION *session).
In this patch was added to session structure two counters (datatype long
Incrementation of these counters is performed at
where was added next input parameter - current session.

My question: is this patch correct and applicable and could't it cause any
problems in future?

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2013-11-27

the libssh2 team