diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-09-12 10:18:24 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-09-12 10:18:24 +0000 |
commit | ec2206e33164fe6a8067bd634dbb647faec432c1 (patch) | |
tree | f67e93c283b00b9b296af99a3e4e1a1656b6a744 /src/stream | |
parent | 3862af06f29fe063e70a535dc8141c2202c2bc4a (diff) | |
download | gnunet-ec2206e33164fe6a8067bd634dbb647faec432c1.tar.gz gnunet-ec2206e33164fe6a8067bd634dbb647faec432c1.zip |
fix
Diffstat (limited to 'src/stream')
-rw-r--r-- | src/stream/perf_stream_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stream/perf_stream_api.c b/src/stream/perf_stream_api.c index 761c67f14..2aec2be57 100644 --- a/src/stream/perf_stream_api.c +++ b/src/stream/perf_stream_api.c | |||
@@ -185,7 +185,7 @@ static uint32_t data[DATA_SIZE / 4]; | |||
185 | * Payload sizes to test each major test with | 185 | * Payload sizes to test each major test with |
186 | */ | 186 | */ |
187 | static uint16_t payload_size[] = | 187 | static uint16_t payload_size[] = |
188 | { 20, 500, 2000, 7000, 13000, 25000, 56000, 64000 }; | 188 | { 20, 500, 2000, 7000, 13000, 25000, 56000, 60000 }; |
189 | 189 | ||
190 | /** | 190 | /** |
191 | * Handle for the progress meter | 191 | * Handle for the progress meter |
@@ -518,7 +518,8 @@ stream_connect (void) | |||
518 | peer_data[1].socket = | 518 | peer_data[1].socket = |
519 | GNUNET_STREAM_open (config, &peer_data[2].self, 10, &stream_open_cb, | 519 | GNUNET_STREAM_open (config, &peer_data[2].self, 10, &stream_open_cb, |
520 | &peer_data[1], | 520 | &peer_data[1], |
521 | GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE, 500, | 521 | GNUNET_STREAM_OPTION_MAX_PAYLOAD_SIZE, |
522 | payload_size[payload_size_index], | ||
522 | GNUNET_STREAM_OPTION_END); | 523 | GNUNET_STREAM_OPTION_END); |
523 | GNUNET_assert (NULL != peer_data[1].socket); | 524 | GNUNET_assert (NULL != peer_data[1].socket); |
524 | } | 525 | } |