From 17c700e501bd0c78efd0a8784993b9d0e1238f33 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Mon, 27 Feb 2023 17:38:34 +0100 Subject: make sure the output before the sleep is actually send --- test/it_url.testserver.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/it_url.testserver.php b/test/it_url.testserver.php index 9f5f91c..242ccf6 100644 --- a/test/it_url.testserver.php +++ b/test/it_url.testserver.php @@ -42,7 +42,8 @@ switch ($_SERVER['PHP_SELF']) break; case "/long_sleep": - echo 'a'; + echo "a\n"; + flush(); sleep(6); echo 'Testserver output after long sleep'; break; -- cgit v1.2.3