swoole-src
swoole-src copied to clipboard
🚀 Coroutine-based concurrency library for PHP
Please answer these questions before submitting your issue. 1. What did you do? If possible, provide a simple script for reproducing the error.  2. What did...
Please answer these questions before submitting your issue. 1. What did you do? If possible, provide a simple script for reproducing the error. 看文档说明,这个是因为 在约定的时间 ([max_wait_time](https://wiki.swoole.com/#/server/setting?id=max_wait_time) 秒) 内此 Worker 没有退出,Swoole...
MBP 16 M1 Pro Docker php:8.1-cli pecl install swoole ``` #0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc: In lambda function: #0 72.36 /tmp/pear/temp/swoole/ext-src/swoole_http2_server.cc:326:30: error: 'using HttpContext = struct swoole::http::Context' {aka 'struct swoole::http::Context'} has no...
Please answer these questions before submitting your issue. 1. What did you do? If possible, provide a simple script for reproducing the error. 想了解下什么情况下会导致这个警告,业务代码里面没有主动使用timer之类的函数。 出现这个警告需要关注么,偶发。 2. What did you expect...
WARNING Server::check_worker_exit_status(): worker(pid= , id=4) abnormal exit, status=0, signal=9
Hello everyone. I have a problem that i thing this is exception. Actualy some issue writed about "abnormal exit" but anyone not continue. Thereforeof i am writing this issue now....
Please answer these questions before submitting your issue. 1. What did you do? If possible, provide a simple script for reproducing the error. /usr/local/opt/php\@8.0/bin/phpize ./configure --enable-openssl --with-openssl-dir=/usr/local/opt/openssl\@1.1 --enable-swoole-curl --with-php-config=/usr/local/opt/php\@8.0/bin/php-config make...
swoole-cli什么时候支持mac版
Hello In version 5, the `Swoole\Http\Response->setCookie()` changed from: `->setCookie(name: $name,value: $value, expires: $expires, path: $path, domain: $domain, secure: $secure, httponly: $httponly);` to `->setCookie(name: $name,value: $value, expire: $expires, path: $path, domain:...
Other functions that are hooked are compatible in the non-coroutine
## Question How can I make one incoming `Swoole\Http\Server::on('Request')` to suspend/wait/yield indefinitely, and then another `Swoole\Http\Server::on('Request')` or even `Swoole\WebSocket\Server::on('Message')` can resume/unblock/continue that waiting HTTP request? Kind of like a "Promise"...