- minor
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 2 Feb 2012 16:11:13 +0000 (16:11 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 2 Feb 2012 16:11:13 +0000 (16:11 +0000)
src/transport/plugin_transport_udp_new.h
src/transport/test_transport_api.c

index ec943c11bde402cee83602e2d026c167122a8c4e..d3eb192a161fd4e967918153bebba4fa2123db56 100644 (file)
@@ -41,7 +41,7 @@
 
 #define LOG(kind,...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__)
 
-#define DEBUG_UDP GNUNET_YES
+#define DEBUG_UDP GNUNET_NO
 #define DEBUG_UDP_BROADCASTING GNUNET_NO
 
 /**
@@ -231,12 +231,6 @@ struct Plugin
   struct BroadcastAddress *ipv4_broadcast_tail;
   struct BroadcastAddress *ipv4_broadcast_head;
 
-
-  /**
-   * expected delay for ACKs
-   */
-  struct GNUNET_TIME_Relative last_expected_delay;
-
   /**
    * Enable IPv6
    */
index 19121910743ae5e32849245b5d5ed5f772db059c..9cc769ef1a35bade62a8cf1d6c7b30cfbc5db78f 100644 (file)
@@ -50,7 +50,7 @@
 /**
  * How long until we give up on transmitting the message?
  */
-#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
 
 #define MSIZE 2600
 
@@ -88,7 +88,6 @@ char *cfg_file_p2;
 #define OKPP do { ok++; } while (0)
 #endif
 
-
 static void
 end ()
 {
@@ -205,7 +204,7 @@ notify_ready (void *cls, size_t size, void *buf)
   }
 
   char *ps = GNUNET_strdup (GNUNET_i2s (&p2->id));
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Peer %u (`%4s') sending message with type %u and size %u bytes to peer %u (`%4s')\n",
               p2->no, ps, ntohs (hdr->type), ntohs (hdr->size), p->no,
               GNUNET_i2s (&p->id));