前端要是关闭socket之后立马重新连接workman就偶尔不会进入onMessage,启动status 查看connections连接数,对照退出关闭日志都是成功的,然后发现connections数量还会显示一个在线...
$worker->onConnect = function($connection){ $connection->onMessage = function( $connection ){ $host = "xxx.xxx.xxx.xxx:xxx"; $bw = "POST / HTTP/1.1 Host:$host Connection:keep-alive Con...