[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11543 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11543 - gnunet/src/transport |
Date: |
Fri, 28 May 2010 08:50:45 +0200 |
Author: wachs
Date: 2010-05-28 08:50:45 +0200 (Fri, 28 May 2010)
New Revision: 11543
Modified:
gnunet/src/transport/test_plugin_transport_http.c
gnunet/src/transport/test_transport_api_http_peer1.conf
gnunet/src/transport/test_transport_api_http_peer2.conf
Log:
Modified: gnunet/src/transport/test_plugin_transport_http.c
===================================================================
--- gnunet/src/transport/test_plugin_transport_http.c 2010-05-27 16:04:21 UTC
(rev 11542)
+++ gnunet/src/transport/test_plugin_transport_http.c 2010-05-28 06:50:45 UTC
(rev 11543)
@@ -167,6 +167,7 @@
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 @@
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;
}
Modified: gnunet/src/transport/test_transport_api_http_peer1.conf
===================================================================
--- gnunet/src/transport/test_transport_api_http_peer1.conf 2010-05-27
16:04:21 UTC (rev 11542)
+++ gnunet/src/transport/test_transport_api_http_peer1.conf 2010-05-28
06:50:45 UTC (rev 11543)
@@ -1,8 +1,3 @@
-[transport-http]
-#PORT = 12368
-DEBUG=YES
-
-
[fs]
AUTOSTART = NO
@@ -33,6 +28,7 @@
[transport]
PLUGINS = http
+#PLUGINS = tcp http
DEBUG = YES
#PREFIX = xterm -T transport2 -e gdb --command=cmd --args
#PREFIX = valgrind --leak-check=full
@@ -84,10 +80,15 @@
HOSTNAME = localhost
PORT = 12366
+[transport-http]
+PORT = 12389
+DEBUG = YES
+
[transport-tcp]
-TIMEOUT = 300000
-PORT = 12368
+PORT = 12399
+DEBUG = YES
+
[TESTING]
WEAKRANDOM = YES
Modified: gnunet/src/transport/test_transport_api_http_peer2.conf
===================================================================
--- gnunet/src/transport/test_transport_api_http_peer2.conf 2010-05-27
16:04:21 UTC (rev 11542)
+++ gnunet/src/transport/test_transport_api_http_peer2.conf 2010-05-28
06:50:45 UTC (rev 11543)
@@ -32,6 +32,7 @@
[transport]
PLUGINS = http
+#PLUGINS = tcp http
DEBUG = YES
# PREFIX =
ACCEPT_FROM6 = ::1;
@@ -84,9 +85,13 @@
HOSTNAME = localhost
PORT = 22366
+[transport-http]
+PORT = 22389
+DEBUG = YES
+
[transport-tcp]
-TIMEOUT = 300000
-PORT = 22368
+PORT = 22399
+DEBUG = YES
[TESTING]
WEAKRANDOM = YES
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11543 - gnunet/src/transport,
gnunet <=