mirror of
https://github.com/dunglas/frankenphp
synced 2024-10-16 17:14:59 +00:00
e0cf262224
* test: fix and refactor some flaky tests * better fix for flush.php * simpler DHA config
17 lines
291 B
PHP
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);
|
|
};
|