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

Hello,
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
long)
Incrementation of these counters is performed at
_libssh2_recv/_libssh2_send.
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