(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 24 Aug 2010 13:51:01 +0000 (13:51 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 24 Aug 2010 13:51:01 +0000 (13:51 +0000)
src/transport/plugin_transport_http.c
src/transport/plugin_transport_https.c
src/transport/test_transport_api_rel_https_peer1.conf
src/transport/test_transport_api_rel_https_peer2.conf

index 9169af5d123b4e9aa09ebb2556f44e086e844806..2293e4ba46cebdbbcb0ba2bca0351da3d9d03c1c 100644 (file)
@@ -42,6 +42,7 @@
 
 #define DEBUG_HTTP GNUNET_NO
 #define DEBUG_CURL GNUNET_NO
+#define DEBUG_MHD GNUNET_YES
 #define DEBUG_CONNECTIONS GNUNET_NO
 #define DEBUG_SESSION_SELECTION GNUNET_NO
 
@@ -2454,7 +2455,7 @@ libgnunet_plugin_transport_http_init (void *cls)
   {
        struct sockaddr * tmp = (struct sockaddr *) plugin->bind6_address;
     plugin->http_server_daemon_v6 = MHD_start_daemon (
-#if DEBUG_CONNECTIONS
+#if DEBUG_MHD
                                                                   MHD_USE_DEBUG |
 #endif
                                                                   MHD_USE_IPv6,
@@ -2473,7 +2474,7 @@ libgnunet_plugin_transport_http_init (void *cls)
   if ((plugin->http_server_daemon_v4 == NULL) && (plugin->use_ipv4 == GNUNET_YES) && (port != 0))
   {
   plugin->http_server_daemon_v4 = MHD_start_daemon (
-#if DEBUG_CONNECTIONS
+#if DEBUG_MHD
                                                                   MHD_USE_DEBUG |
 #endif
                                                                   MHD_NO_FLAG,
index fc548868d183a1613e837d64351f0e0cadcd844d..088c8f3d8e9f81bbde474218b1c2f4fbc1d5f879 100644 (file)
@@ -43,6 +43,7 @@
 
 #define DEBUG_HTTPS GNUNET_NO
 #define VERBOSE GNUNET_NO
+#define DEBUG_MHD GNUNET_YES
 #define DEBUG_CURL GNUNET_NO
 #define DEBUG_CONNECTIONS GNUNET_NO
 #define DEBUG_SESSION_SELECTION GNUNET_NO
@@ -2615,10 +2616,9 @@ libgnunet_plugin_transport_https_init (void *cls)
   {
        struct sockaddr * tmp = (struct sockaddr *) plugin->bind6_address;
     plugin->http_server_daemon_v6 = MHD_start_daemon (
-
+#if DEBUG_MHD
                                                                   MHD_USE_DEBUG |
-#if DEBUG_CONNECTIONS
-                                                                  #endif
+#endif
                                                                   MHD_USE_IPv6 | MHD_USE_SSL,
                                        port,
                                        &mhd_accept_cb,
@@ -2642,9 +2642,8 @@ libgnunet_plugin_transport_https_init (void *cls)
   if ((plugin->http_server_daemon_v4 == NULL) && (plugin->use_ipv4 == GNUNET_YES) && (port != 0))
   {
   plugin->http_server_daemon_v4 = MHD_start_daemon (
-
+#if DEBUG_MHD
                                                                   MHD_USE_DEBUG |
-#if DEBUG_CONNECTIONS
 #endif
                                                                   MHD_NO_FLAG | MHD_USE_SSL,
                                        port,
index 9098a67df7f4f4b93b0fe000d18d90d8abcb9ed0..3ac60d792638a8ba3c1f489371c62e4717146361 100644 (file)
@@ -50,7 +50,7 @@ MINIMUM-FRIENDS = 0
 [transport]
 PLUGINS = https
 #PLUGINS = tcp http
-DEBUG = YES
+#DEBUG = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50
index 892694a4c306741af23f1d7e8c421e8b6a16a58b..e826e7ebe51f18aa70ffdab4ff3f1f6d47201909 100644 (file)
@@ -50,7 +50,7 @@ MINIMUM-FRIENDS = 0
 [transport]
 PLUGINS = https
 #PLUGINS = tcp http
-DEBUG = YES
+#DEBUG = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50