config
authorChristian Grothoff <christian@grothoff.org>
Fri, 15 Jul 2011 08:23:49 +0000 (08:23 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 15 Jul 2011 08:23:49 +0000 (08:23 +0000)
src/transport/plugin_transport_udp.c
src/transport/test_quota_compliance_udp_peer1.conf
src/transport/test_quota_compliance_udp_peer2.conf
src/transport/test_transport_api_udp_peer1.conf
src/transport/test_transport_api_udp_peer2.conf

index 98c32f81334f6dd90efbf81450310a428877e1d0..0b16d24665bebae603f453afa89d70fba4b7a424 100644 (file)
@@ -885,7 +885,7 @@ udp_read (struct Plugin *plugin,
                     GNUNET_CONTAINER_multihashmap_remove (plugin->sessions,
                                                           &udp->sender.hashPubKey,
                                                           peer_session));
-      GNUNET_FRAGMENT_context_destroy (peer_session->frag);
+      plugin->last_expected_delay = GNUNET_FRAGMENT_context_destroy (peer_session->frag);
       peer_session->cont (peer_session->cont_cls,
                          &udp->sender, 
                          GNUNET_OK);
index 7882708a14be640c8e3c08686fb4db43a9476fda..c30c3b3fb46cc4e3d0bffa7f9d1df372de01d415 100644 (file)
@@ -32,7 +32,7 @@ AUTOSTART = NO
 
 [transport-udp]
 PORT = 4368
-USE_LOCALADDR = YES
+MAX_BPS = 50000000
 
 [transport]
 plugins = udp
index 6676cdeafaf8fa5af0bdf57535ff70ce8634568a..88ddd67b2022f7cd513767884941c5d40b9d647c 100644 (file)
@@ -4,7 +4,8 @@ DEFAULTCONFIG = test_quota_compliance_udp_peer2.conf
 
 [transport-udp]
 PORT = 3368
-USE_LOCALADDR = YES
+MAX_BPS = 50000000
+
 [fs]
 AUTOSTART = NO
 
index 40986e0df2c95c1800b2f90e1d8c0f3bfd64735e..7c6d8c4a1c344e77a2cab3f8ccda00e69f779299 100644 (file)
@@ -1,6 +1,6 @@
 [transport-udp]
 PORT = 12040
-USE_LOCALADDR = YES
+MAX_BPS = 50000000
 
 [fs]
 AUTOSTART = NO
index 62e21f866e15493e5e8b6b063e7a8d512cd945db..e267b100c86caa408d8cd6c50c2caaa0ed264bda 100644 (file)
@@ -1,6 +1,6 @@
 [transport-udp]
 PORT = 12050
-USE_LOCALADDR = YES
+MAX_BPS = 50000000
 
 [nat]
 # Are we behind NAT?