From a689f1c66d2663ab1f3e6ec6347707612908d25c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 27 Apr 2012 13:14:57 +0000 Subject: -stat counter for http --- src/transport/plugin_transport_http.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/transport/plugin_transport_http.h') diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h index ab268e244..89fb86dd9 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h @@ -45,7 +45,7 @@ #define DEBUG_HTTP GNUNET_EXTRA_LOGGING #define VERBOSE_SERVER GNUNET_EXTRA_LOGGING #define VERBOSE_CLIENT GNUNET_EXTRA_LOGGING -#define VERBOSE_CURL GNUNET_EXTRA_LOGGING +#define VERBOSE_CURL GNUNET_NO #if BUILD_HTTPS #define LIBGNUNET_PLUGIN_TRANSPORT_INIT libgnunet_plugin_transport_https_init @@ -159,6 +159,16 @@ struct Plugin */ int max_connections; + /** + * Number of outbound sessions + */ + unsigned int outbound_sessions; + + /** + * Number of inbound sessions + */ + unsigned int inbound_sessions; + /** * Plugin HTTPS SSL/TLS options * ---------------------------- @@ -453,6 +463,9 @@ struct HTTP_Message void *transmit_cont_cls; }; +int +exist_session (struct Plugin *plugin, struct Session *s); + void delete_session (struct Session *s); -- cgit v1.2.3