From 2e482224bcf4de210e04448e3fe0244d9ec2c2ab Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 15 Jun 2010 14:34:25 +0000 Subject: [PATCH] --- src/transport/test_plugin_transport_http.c | 8 ++++++-- 1 file 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, { msg = curl_multi_info_read (multi_handle, &running); - GNUNET_break (msg != NULL); if (msg == NULL) break; /* get session for affected curl handle */ @@ -599,6 +598,11 @@ static void send_execute (void *cls, __LINE__, curl_easy_strerror (msg->data.result)); /* sending msg failed*/ + curl_easy_cleanup(curl_handle); + curl_handle=NULL; + + run_connection_tests(); + return; } if (res == &test_no_ident) { @@ -855,7 +859,7 @@ static void pretty_printer_cb (void *cls, */ static void run_connection_tests( void ) { - char * host_str; + static char * host_str; /* resetting buffers */ buffer_in.size = HTTP_BUFFER_SIZE; -- 2.25.1