aboutsummaryrefslogtreecommitdiff
path: root/src/stream
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-09-11 10:36:25 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-09-11 10:36:25 +0000
commitb1e2549a18ae16e0e101899b7c4739c5b153d1f6 (patch)
tree7ae9c5237a30bc1daed0b14853276970f545a9b9 /src/stream
parent786b876b5759c3e8bcd494c8e880d15e05285e29 (diff)
downloadgnunet-b1e2549a18ae16e0e101899b7c4739c5b153d1f6.tar.gz
gnunet-b1e2549a18ae16e0e101899b7c4739c5b153d1f6.zip
reduced payload size
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/test_stream_big.c4
-rw-r--r--src/stream/test_stream_sequence_wraparound.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/stream/test_stream_big.c b/src/stream/test_stream_big.c
index b14429571..ec1cd07af 100644
--- a/src/stream/test_stream_big.c
+++ b/src/stream/test_stream_big.c
@@ -335,8 +335,8 @@ stream_connect (void)
335 peer->socket = GNUNET_STREAM_open (config, 335 peer->socket = GNUNET_STREAM_open (config,
336 &peer2.self, /* Null for local peer? */ 336 &peer2.self, /* Null for local peer? */
337 10, /* App port */ 337 10, /* App port */
338 &stream_open_cb, 338 &stream_open_cb, &peer1,
339 &peer1, 339 GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE, 500,
340 GNUNET_STREAM_OPTION_END); 340 GNUNET_STREAM_OPTION_END);
341 GNUNET_assert (NULL != peer->socket); 341 GNUNET_assert (NULL != peer->socket);
342} 342}
diff --git a/src/stream/test_stream_sequence_wraparound.c b/src/stream/test_stream_sequence_wraparound.c
index 0d908b53b..1e5156fe9 100644
--- a/src/stream/test_stream_sequence_wraparound.c
+++ b/src/stream/test_stream_sequence_wraparound.c
@@ -327,6 +327,7 @@ stream_connect (void)
327 GNUNET_STREAM_OPTION_TESTING_SET_WRITE_SEQUENCE_NUMBER, 327 GNUNET_STREAM_OPTION_TESTING_SET_WRITE_SEQUENCE_NUMBER,
328 UINT32_MAX - GNUNET_CRYPTO_random_u32 328 UINT32_MAX - GNUNET_CRYPTO_random_u32
329 (GNUNET_CRYPTO_QUALITY_WEAK, 64), 329 (GNUNET_CRYPTO_QUALITY_WEAK, 64),
330 GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE, 500,
330 GNUNET_STREAM_OPTION_END); 331 GNUNET_STREAM_OPTION_END);
331 GNUNET_assert (NULL != peer1.socket); 332 GNUNET_assert (NULL != peer1.socket);
332} 333}