aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-08-24 13:51:01 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-08-24 13:51:01 +0000
commitdd1c950fea7a51ea23a5ce3ecb36eced72d62af2 (patch)
treeebe22b363cdeb8c2da5b339266ba146e16e53334 /src/transport/plugin_transport_http.c
parent536851a1167ed2c5abee5ec6433864e082b1f77a (diff)
downloadgnunet-dd1c950fea7a51ea23a5ce3ecb36eced72d62af2.tar.gz
gnunet-dd1c950fea7a51ea23a5ce3ecb36eced72d62af2.zip
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r--src/transport/plugin_transport_http.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c
index 9169af5d1..2293e4ba4 100644
--- a/src/transport/plugin_transport_http.c
+++ b/src/transport/plugin_transport_http.c
@@ -42,6 +42,7 @@
42 42
43#define DEBUG_HTTP GNUNET_NO 43#define DEBUG_HTTP GNUNET_NO
44#define DEBUG_CURL GNUNET_NO 44#define DEBUG_CURL GNUNET_NO
45#define DEBUG_MHD GNUNET_YES
45#define DEBUG_CONNECTIONS GNUNET_NO 46#define DEBUG_CONNECTIONS GNUNET_NO
46#define DEBUG_SESSION_SELECTION GNUNET_NO 47#define DEBUG_SESSION_SELECTION GNUNET_NO
47 48
@@ -2454,7 +2455,7 @@ libgnunet_plugin_transport_http_init (void *cls)
2454 { 2455 {
2455 struct sockaddr * tmp = (struct sockaddr *) plugin->bind6_address; 2456 struct sockaddr * tmp = (struct sockaddr *) plugin->bind6_address;
2456 plugin->http_server_daemon_v6 = MHD_start_daemon ( 2457 plugin->http_server_daemon_v6 = MHD_start_daemon (
2457#if DEBUG_CONNECTIONS 2458#if DEBUG_MHD
2458 MHD_USE_DEBUG | 2459 MHD_USE_DEBUG |
2459#endif 2460#endif
2460 MHD_USE_IPv6, 2461 MHD_USE_IPv6,
@@ -2473,7 +2474,7 @@ libgnunet_plugin_transport_http_init (void *cls)
2473 if ((plugin->http_server_daemon_v4 == NULL) && (plugin->use_ipv4 == GNUNET_YES) && (port != 0)) 2474 if ((plugin->http_server_daemon_v4 == NULL) && (plugin->use_ipv4 == GNUNET_YES) && (port != 0))
2474 { 2475 {
2475 plugin->http_server_daemon_v4 = MHD_start_daemon ( 2476 plugin->http_server_daemon_v4 = MHD_start_daemon (
2476#if DEBUG_CONNECTIONS 2477#if DEBUG_MHD
2477 MHD_USE_DEBUG | 2478 MHD_USE_DEBUG |
2478#endif 2479#endif
2479 MHD_NO_FLAG, 2480 MHD_NO_FLAG,