Date: Thu, 22 Sep 2022 21:17:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266555] devel/pecl-swoole dont work mode SWOOLE_PROCESS Message-ID: <bug-266555-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266555 Bug ID: 266555 Summary: devel/pecl-swoole dont work mode SWOOLE_PROCESS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: vanilla@FreeBSD.org Reporter: ricardohfsp@gmail.com Flags: maintainer-feedback?(vanilla@FreeBSD.org) Assignee: vanilla@FreeBSD.org In FreeBSD the mode SWOOLE_PROCESS not working, i am testing in 12.3-RELEASE and 13.1-RELEASE. This a simple code to test: <?php $http =3D new Swoole\Http\Server("127.0.0.1", 9501, SWOOLE_PROCESS); $http->on('request', function ($request, $response) { $response->end("<h1>Hello Swoole. #".rand(1000, 9999)."</h1>"); }); $http->start(); I init this code in a terminal and call with cURL in another, but requisiti= on is locked and dont return "Hello Swoole XyXy". If modify mode to SWOOLE_BASE call with cURL return correct. I tested versions of Swoole 4.8.10, 4.8.11, 4.8.12 and 5.0.0, with ports and pkg, but any recent version dont work in FreeBSD with mode SWOOLE_PROCESS. Currently i runing with sucess with mode SWOOLE_PROCESS, but in an old vers= ion Swoole in FreeBSD 12.2-STABLE, Swoole 4.8.9 and PHP 7.3.18. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266555-7788>