found the bug, test cases should now work
authorNathan S. Evans <evans@in.tum.de>
Thu, 28 Jan 2010 14:44:20 +0000 (14:44 +0000)
committerNathan S. Evans <evans@in.tum.de>
Thu, 28 Jan 2010 14:44:20 +0000 (14:44 +0000)
src/transport/plugin_transport_tcp.c

index fd6dc7506cde9ef6a2b6068b80777e260f6b5d90..c302971cb2bebe22606b3a4dfcfccdde884ddf71 100644 (file)
@@ -38,7 +38,7 @@
 #include "plugin_transport.h"
 #include "transport.h"
 
-#define DEBUG_TCP GNUNET_YES
+#define DEBUG_TCP GNUNET_NO
 
 /**
  * How long until we give up on transmitting the welcome message?
@@ -1110,6 +1110,7 @@ handle_tcp_data (void *cls,
   GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
                    "tcp", "Received a welcome, NOT sending to clients!\n");
 #endif
+    GNUNET_SERVER_receive_done (client, GNUNET_OK);
     return; /* We don't want to propagate WELCOME messages up! */
   }
   else