diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-15 14:34:25 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-06-15 14:34:25 +0000 |
commit | 2e482224bcf4de210e04448e3fe0244d9ec2c2ab (patch) | |
tree | 4d10f7f2a5082d751b67357378381cfe108d2f97 | |
parent | 62973b2dea9b0c53f59570c0060a6436871373b9 (diff) | |
download | gnunet-2e482224bcf4de210e04448e3fe0244d9ec2c2ab.tar.gz gnunet-2e482224bcf4de210e04448e3fe0244d9ec2c2ab.zip |
-rw-r--r-- | src/transport/test_plugin_transport_http.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/transport/test_plugin_transport_http.c b/src/transport/test_plugin_transport_http.c index d1c1da120..d3f0dbc2f 100644 --- a/src/transport/test_plugin_transport_http.c +++ b/src/transport/test_plugin_transport_http.c | |||
@@ -578,7 +578,6 @@ static void send_execute (void *cls, | |||
578 | { | 578 | { |
579 | 579 | ||
580 | msg = curl_multi_info_read (multi_handle, &running); | 580 | msg = curl_multi_info_read (multi_handle, &running); |
581 | GNUNET_break (msg != NULL); | ||
582 | if (msg == NULL) | 581 | if (msg == NULL) |
583 | break; | 582 | break; |
584 | /* get session for affected curl handle */ | 583 | /* get session for affected curl handle */ |
@@ -599,6 +598,11 @@ static void send_execute (void *cls, | |||
599 | __LINE__, | 598 | __LINE__, |
600 | curl_easy_strerror (msg->data.result)); | 599 | curl_easy_strerror (msg->data.result)); |
601 | /* sending msg failed*/ | 600 | /* sending msg failed*/ |
601 | curl_easy_cleanup(curl_handle); | ||
602 | curl_handle=NULL; | ||
603 | |||
604 | run_connection_tests(); | ||
605 | return; | ||
602 | } | 606 | } |
603 | if (res == &test_no_ident) | 607 | if (res == &test_no_ident) |
604 | { | 608 | { |
@@ -855,7 +859,7 @@ static void pretty_printer_cb (void *cls, | |||
855 | */ | 859 | */ |
856 | static void run_connection_tests( void ) | 860 | static void run_connection_tests( void ) |
857 | { | 861 | { |
858 | char * host_str; | 862 | static char * host_str; |
859 | 863 | ||
860 | /* resetting buffers */ | 864 | /* resetting buffers */ |
861 | buffer_in.size = HTTP_BUFFER_SIZE; | 865 | buffer_in.size = HTTP_BUFFER_SIZE; |