diff options
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 @@ | |||
45 | #define DEBUG_HTTP GNUNET_EXTRA_LOGGING | 45 | #define DEBUG_HTTP GNUNET_EXTRA_LOGGING |
46 | #define VERBOSE_SERVER GNUNET_EXTRA_LOGGING | 46 | #define VERBOSE_SERVER GNUNET_EXTRA_LOGGING |
47 | #define VERBOSE_CLIENT GNUNET_EXTRA_LOGGING | 47 | #define VERBOSE_CLIENT GNUNET_EXTRA_LOGGING |
48 | #define VERBOSE_CURL GNUNET_EXTRA_LOGGING | 48 | #define VERBOSE_CURL GNUNET_NO |
49 | 49 | ||
50 | #if BUILD_HTTPS | 50 | #if BUILD_HTTPS |
51 | #define LIBGNUNET_PLUGIN_TRANSPORT_INIT libgnunet_plugin_transport_https_init | 51 | #define LIBGNUNET_PLUGIN_TRANSPORT_INIT libgnunet_plugin_transport_https_init |
@@ -160,6 +160,16 @@ struct Plugin | |||
160 | int max_connections; | 160 | int max_connections; |
161 | 161 | ||
162 | /** | 162 | /** |
163 | * Number of outbound sessions | ||
164 | */ | ||
165 | unsigned int outbound_sessions; | ||
166 | |||
167 | /** | ||
168 | * Number of inbound sessions | ||
169 | */ | ||
170 | unsigned int inbound_sessions; | ||
171 | |||
172 | /** | ||
163 | * Plugin HTTPS SSL/TLS options | 173 | * Plugin HTTPS SSL/TLS options |
164 | * ---------------------------- | 174 | * ---------------------------- |
165 | */ | 175 | */ |
@@ -453,6 +463,9 @@ struct HTTP_Message | |||
453 | void *transmit_cont_cls; | 463 | void *transmit_cont_cls; |
454 | }; | 464 | }; |
455 | 465 | ||
466 | int | ||
467 | exist_session (struct Plugin *plugin, struct Session *s); | ||
468 | |||
456 | void | 469 | void |
457 | delete_session (struct Session *s); | 470 | delete_session (struct Session *s); |
458 | 471 | ||