connection_status and connection_aborted does not work
オープン
@gwanglst がすでに取り組んでいます。
2022年12月15日 から。
Bug
Extension: standard
SAPI: litespeed
Status: Needs Triage
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.2k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
From manual page: https://php.net/function.connection-status
Hi,
I tested this using PHP 7.4 but it does not detect disconnect, I try to stop and close the browser.
<?php
ignore_user_abort(true);
set_time_limit(0);
while(1)
{
echo "\n";
ob_flush();
flush();
// Did the connection fail?
if(connection_status() != CONNECTION_NORMAL)
{
break;
}
sleep(1);
}
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。