(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 May 2010 06:50:45 +0000 (06:50 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 May 2010 06:50:45 +0000 (06:50 +0000)
src/transport/test_plugin_transport_http.c
src/transport/test_transport_api_http_peer1.conf
src/transport/test_transport_api_http_peer2.conf

index d404cb15c3617ac7c55280c8b5458c1d052e5cf2..0596f89923a37222e72cb892d597fbe6a7c32044 100644 (file)
@@ -167,6 +167,7 @@ static void task_send_cont (void *cls,
                             const struct GNUNET_PeerIdentity * target,
                             int result)
 {
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Message was sent!\n");
   fail = GNUNET_NO;
   shutdown_clean();
 }
@@ -191,7 +192,7 @@ task_send (void *cls,
   unsigned int len = ntohs(msg->size);
   const char * msgc = (const char *) msg;
 
-  api->send(api->cls,p,msgc, len, 0, TIMEOUT, NULL,NULL, 0, GNUNET_NO, &task_send_cont, NULL);
+  api->send(api->cls, p, msgc, len, 0, TIMEOUT, NULL,NULL, 0, GNUNET_NO, &task_send_cont, NULL);
   sent = GNUNET_YES;
 
 }
index 0a1814068aa8c1281f913c1cad6f24f3ce895851..539e9ab6caa7697dc03acc8dbfd5504999f21e9e 100644 (file)
@@ -1,8 +1,3 @@
-[transport-http]
-#PORT = 12368
-DEBUG=YES
-
-
 [fs]
 AUTOSTART = NO
 
@@ -33,6 +28,7 @@ MINIMUM-FRIENDS = 0
 
 [transport]
 PLUGINS = http
+#PLUGINS = tcp http
 DEBUG = YES
 #PREFIX = xterm -T transport2 -e gdb --command=cmd --args
 #PREFIX = valgrind --leak-check=full
@@ -84,9 +80,14 @@ HOME = $SERVICEHOME
 HOSTNAME = localhost
 PORT = 12366
 
+[transport-http]
+PORT = 12389
+DEBUG = YES
+
 [transport-tcp]
-TIMEOUT = 300000
-PORT = 12368
+PORT = 12399
+DEBUG = YES
+
 
 [TESTING]
 WEAKRANDOM = YES
index 7ccf5984da444bd7d48ae0862cd215ba51d235b4..1cbe8cae0cd871f8084a686c8d3f4b44b0a8cdce 100644 (file)
@@ -32,6 +32,7 @@ MINIMUM-FRIENDS = 0
 
 [transport]
 PLUGINS = http
+#PLUGINS = tcp http
 DEBUG = YES
 # PREFIX = 
 ACCEPT_FROM6 = ::1;
@@ -84,9 +85,13 @@ HOME = $SERVICEHOME
 HOSTNAME = localhost
 PORT = 22366
 
+[transport-http]
+PORT = 22389
+DEBUG = YES
+
 [transport-tcp]
-TIMEOUT = 300000
-PORT = 22368
+PORT = 22399
+DEBUG = YES
 
 [TESTING]
 WEAKRANDOM = YES