diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-27 13:14:57 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-27 13:14:57 +0000 |
commit | a689f1c66d2663ab1f3e6ec6347707612908d25c (patch) | |
tree | a89b351462ebcfef1829aa56005e999ecfc70f1b /src/transport/plugin_transport_http.h | |
parent | 5ac41046becd09673549fb42f4b387ed847c507d (diff) |
-stat counter for http
Diffstat (limited to 'src/transport/plugin_transport_http.h')
-rw-r--r-- | src/transport/plugin_transport_http.h | 15 |
1 files changed, 14 insertions, 1 deletions
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 @@ -160,6 +160,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); |