Subject: Improve reliability of test httpold-4.12. Thanks AF!

From: dgp <[email-masked]>
Date: Mon, 3 Jun 2013 14:01:24 +0000

---
 tests/httpd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/httpd b/tests/httpd
index 3ea8024..7ba07af 100644
--- a/tests/httpd
+++ b/tests/httpd
@@ -39,7 +39,7 @@ proc httpdAccept {newsock ipaddr port} {
     fconfigure $newsock -blocking 0 -translation {auto crlf}
     httpd_log $newsock Connect $ipaddr $port
     set data(ipaddr) $ipaddr
-    fileevent $newsock readable [list httpdRead $newsock]
+    after 50 [list fileevent $newsock readable [list httpdRead $newsock]]
 }
 
 # read data from a client request
-- 
cgit v0.12