aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-12-18 11:31:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-12-18 11:31:56 +0000
commit7dd5cd13dd34be6a6ba90e586f599cfada951648 (patch)
treead099f24b7521ba33ac8e27d0b8d44ddec509f67 /src/transport/plugin_transport_http_server.c
parent0e5752c4c3a0a3a76c5d434be10fab4613835bda (diff)
downloadgnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.tar.gz
gnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.zip
new timeout function and keep alives with nonces
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 19fd632b8..5d529b4ed 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -900,6 +900,14 @@ http_server_query_keepalive_factor (void *cls)
900 return 3; 900 return 3;
901} 901}
902 902
903static void
904http_server_plugin_update_session_timeout (void *cls,
905 const struct GNUNET_PeerIdentity *peer,
906 struct Session *session)
907{
908
909}
910
903 911
904/** 912/**
905 * Tell MHD that the connection should timeout after @a to seconds. 913 * Tell MHD that the connection should timeout after @a to seconds.
@@ -3121,7 +3129,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls)
3121 api->string_to_address = &http_common_plugin_string_to_address; 3129 api->string_to_address = &http_common_plugin_string_to_address;
3122 api->address_pretty_printer = &http_common_plugin_address_pretty_printer; 3130 api->address_pretty_printer = &http_common_plugin_address_pretty_printer;
3123 api->get_network = &http_server_get_network; 3131 api->get_network = &http_server_get_network;
3124 3132 api->update_session_timeout = &http_server_plugin_update_session_timeout;
3125#if BUILD_HTTPS 3133#if BUILD_HTTPS
3126 plugin->name = "transport-https_server"; 3134 plugin->name = "transport-https_server";
3127 plugin->protocol = "https"; 3135 plugin->protocol = "https";