frankenphp/testdata/connectionStatusLog.php
Kévin Dunglas e0cf262224
test: fix and refactor some flaky tests (#165)
* test: fix and refactor some flaky tests

* better fix for flush.php

* simpler DHA config
2023-07-10 18:46:04 +02:00

17 lines
291 B
PHP

<?php
ignore_user_abort(true);
require_once __DIR__.'/_executor.php';
return function () {
if($_GET['finish'] ?? false) {
frankenphp_finish_request();
}
echo 'hi';
flush();
$status = (string) connection_status();
error_log("request {$_GET['i']}: " . $status);
};