« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for lsof (0.002 sec.)
EventHttpConnection::setCloseCallback — Set callback for connection close | PHP... 9414
EventHttpConnection::setCloseCallback (PECL event >= 1.8.0) EventHttpConnection::setCloseCallback — Set callback for connection close 説明 public function EventHttpConnection::setCloseCallback ( callable $callback , mixed $data = ? ): void ... _close_callback" string to standard output. * * 5) Check if the server's process has no orphaned connections, * e.g. with `lsof` utility. */ function _close_callback ( $conn ) { echo __FUNCTION__ , PHP_EOL ; } function _http_default ( $req , $dummy ) ... each time client terminates connection abruptly, we get an orphaned connection. For instance, the following is a part of `lsof -p $PID | grep TCP` command after client has terminated connection: 57-php 15057 ruslan 6u unix 0xffff8802fb59c780 0t0 125 ...
https://man.mtool.work/php/8.3/eventhttpconnection.setclosecallback.html
PREV 1 NEXT