diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-13 11:29:51 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-13 11:29:51 +0000 |
commit | 91291b85b253b88411362e965e543268330a6254 (patch) | |
tree | 6dbcca97a996c49bb86e33c456968944434df2f2 /src/transport/test_plugin_transport_http.c | |
parent | 11321385c74932ce2ae0491e16e29fcb4bdf2f9c (diff) | |
download | gnunet-91291b85b253b88411362e965e543268330a6254.tar.gz gnunet-91291b85b253b88411362e965e543268330a6254.zip |
Diffstat (limited to 'src/transport/test_plugin_transport_http.c')
-rw-r--r-- | src/transport/test_plugin_transport_http.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/transport/test_plugin_transport_http.c b/src/transport/test_plugin_transport_http.c index 76dd9b067..a1dcd5cd8 100644 --- a/src/transport/test_plugin_transport_http.c +++ b/src/transport/test_plugin_transport_http.c | |||
@@ -57,7 +57,7 @@ | |||
57 | /** | 57 | /** |
58 | * Testcase timeout | 58 | * Testcase timeout |
59 | */ | 59 | */ |
60 | #define TEST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 180) | 60 | #define TEST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 20) |
61 | 61 | ||
62 | /** | 62 | /** |
63 | * How long between recieve and send? | 63 | * How long between recieve and send? |
@@ -1081,11 +1081,10 @@ static void run_connection_tests( int phase , void * cls) | |||
1081 | 1081 | ||
1082 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("\nPhase 3: send multiple or big messages after disconnect\n\n")); | 1082 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("\nPhase 3: send multiple or big messages after disconnect\n\n")); |
1083 | /* disconnect from peer, so new connections are created */ | 1083 | /* disconnect from peer, so new connections are created */ |
1084 | //GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"Disconnect from peer: `%s'\n", GNUNET_i2s(&my_identity)); | 1084 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,"Disconnect from peer: `%s'\n", GNUNET_i2s(&my_identity)); |
1085 | //api->disconnect(api->cls, &my_identity); | 1085 | api->disconnect(api->cls, &my_identity); |
1086 | 1086 | ||
1087 | /* send a multiple GNUNET_messages at a time*/ | 1087 | /* send a multiple GNUNET_messages at a time*/ |
1088 | |||
1089 | size = 2 * sizeof(struct GNUNET_MessageHeader); | 1088 | size = 2 * sizeof(struct GNUNET_MessageHeader); |
1090 | msg = GNUNET_malloc( 2* size); | 1089 | msg = GNUNET_malloc( 2* size); |
1091 | msg->size = htons(size); | 1090 | msg->size = htons(size); |