gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r23754 - gnunet/src/stream


From: gnunet
Subject: [GNUnet-SVN] r23754 - gnunet/src/stream
Date: Wed, 12 Sep 2012 12:18:24 +0200

Author: harsha
Date: 2012-09-12 12:18:24 +0200 (Wed, 12 Sep 2012)
New Revision: 23754

Modified:
   gnunet/src/stream/perf_stream_api.c
Log:
fix

Modified: gnunet/src/stream/perf_stream_api.c
===================================================================
--- gnunet/src/stream/perf_stream_api.c 2012-09-12 10:09:49 UTC (rev 23753)
+++ gnunet/src/stream/perf_stream_api.c 2012-09-12 10:18:24 UTC (rev 23754)
@@ -185,7 +185,7 @@
  * Payload sizes to test each major test with
  */
 static uint16_t payload_size[] = 
-{ 20, 500, 2000, 7000, 13000, 25000, 56000, 64000 };
+{ 20, 500, 2000, 7000, 13000, 25000, 56000, 60000 };
 
 /**
  * Handle for the progress meter
@@ -518,7 +518,8 @@
   peer_data[1].socket = 
       GNUNET_STREAM_open (config, &peer_data[2].self, 10, &stream_open_cb,
                          &peer_data[1],
-                         GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE, 500,
+                         GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE,
+                         payload_size[payload_size_index],
                          GNUNET_STREAM_OPTION_END);
   GNUNET_assert (NULL != peer_data[1].socket);
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]