From a3a61cbcce394653f2cb4ba5a8bdd58ac839fca8 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 22 Jan 2014 14:33:14 +0100
Subject: [PATCH] Delay Curl_addHandleToPipeline() by a milisecond

Work-around to get test 584 working reliably on FreeBSD 11-CURRENT
again after 5b2342d3772 removed a couple of log messages which made
the function faster.
---
 lib/url.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/url.c b/lib/url.c
index 770b0cc..34773f5 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2728,6 +2728,7 @@ CURLcode Curl_addHandleToPipeline(struct SessionHandle *data,
 {
   if(!Curl_llist_insert_next(pipeline, pipeline->tail, data))
     return CURLE_OUT_OF_MEMORY;
+  Curl_wait_ms(1);
   return CURLE_OK;
 }
 
-- 
1.9.0


