gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r23747 - gnunet/src/stream
Date: Tue, 11 Sep 2012 12:36:25 +0200

Author: harsha
Date: 2012-09-11 12:36:25 +0200 (Tue, 11 Sep 2012)
New Revision: 23747

Modified:
   gnunet/src/stream/test_stream_big.c
   gnunet/src/stream/test_stream_sequence_wraparound.c
Log:
reduced payload size

Modified: gnunet/src/stream/test_stream_big.c
===================================================================
--- gnunet/src/stream/test_stream_big.c 2012-09-11 10:24:54 UTC (rev 23746)
+++ gnunet/src/stream/test_stream_big.c 2012-09-11 10:36:25 UTC (rev 23747)
@@ -335,8 +335,8 @@
   peer->socket = GNUNET_STREAM_open (config,
                                      &peer2.self,         /* Null for local 
peer? */
                                      10,           /* App port */
-                                     &stream_open_cb,
-                                     &peer1,
+                                     &stream_open_cb, &peer1,
+                                    GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE, 500,
                                     GNUNET_STREAM_OPTION_END);
   GNUNET_assert (NULL != peer->socket);
 }

Modified: gnunet/src/stream/test_stream_sequence_wraparound.c
===================================================================
--- gnunet/src/stream/test_stream_sequence_wraparound.c 2012-09-11 10:24:54 UTC 
(rev 23746)
+++ gnunet/src/stream/test_stream_sequence_wraparound.c 2012-09-11 10:36:25 UTC 
(rev 23747)
@@ -327,6 +327,7 @@
                         GNUNET_STREAM_OPTION_TESTING_SET_WRITE_SEQUENCE_NUMBER,
                         UINT32_MAX - GNUNET_CRYPTO_random_u32
                         (GNUNET_CRYPTO_QUALITY_WEAK, 64),
+                       GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE, 500,
                         GNUNET_STREAM_OPTION_END);
   GNUNET_assert (NULL != peer1.socket);
 }




reply via email to

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