From d72386af8375fc6762565702892005716c4237c4 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 9 Jul 2014 17:03:27 +0200
Subject: [PATCH 3/3] libtest1513: Make the test more reliable by using
 curl_easy_perform_ev()

This is just a work around, but the difference seems to be significant:

A couple of results using curl_easy_perform():
TESTDONE: 79 tests out of 100 reported OK: 79%
TESTDONE: 118 tests out of 150 reported OK: 78%
TESTDONE: 948 tests out of 1000 reported OK: 94%

A couple of results using curl_easy_perform_ev():
TESTDONE: 100 tests out of 100 reported OK: 100%
TESTDONE: 148 tests out of 150 reported OK: 98%
TESTDONE: 994 tests out of 1000 reported OK: 99%
---
 tests/libtest/lib1513.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/libtest/lib1513.c b/tests/libtest/lib1513.c
index 80743e8..618c59a 100644
--- a/tests/libtest/lib1513.c
+++ b/tests/libtest/lib1513.c
@@ -64,7 +64,7 @@ int test(char *URL)
   easy_setopt(curl, CURLOPT_PROGRESSDATA, NULL);
   easy_setopt(curl, CURLOPT_NOPROGRESS, (long)0);
 
-  res = curl_easy_perform(curl);
+  res = curl_easy_perform_ev(curl);
 
 test_cleanup:
 
-- 
1.9.0


