仓库 Issues 博客
语言: 全部
排序: 最佳匹配
找到相关 Issues 约为126
搜索工具
排序方式: 最佳匹配
deepziyu yii swoole web Application->run()", "#7 /root/advanced/vendor/deepziyu/yii2-swoole/funResplace.php(14): Swoole Coroutine
希望官方提供一个swoole的插件或者统一方法
$http->on('request', function ($request, $response) use ($config){ print_r('a'); });
Controller Page->login() #2 /data/www/public/framework/libs/Swoole/Swoole.php(772): App Controller Page->index(NULL) #3 /home/wwwr
多协议监听,websocket的message可以收到消息 而 tcp的receive收不到? swoole-1.8.[ 3 - 5 ] 都有这个问题,swoole-1.8.2 没有问题,我测试的php版本为 php-5.5.34
| grep swoole swoole swoole support => enabled swoole.aio_thread_num => 2 => 2 swoole.display_errors => On => On swoole.message_queue_key
"QQ截图20170805210455.png") > [root@iZ284rfum5zZ Swoole]# php init.php > PHP Version: 7.0.19 > Swoole Version: 1.9.17 > [Server Start] master_pid:
我用的是swoole1.9.5版本,swoole_server启动UDP服务器,四个Worker进程,一个swoole_process进程。 现象:命令行执行 "kill -15 主进程" 发现并不能KILL掉全部进程,四个worker进程只有两三个进程能被KILL
我在官网的文档中看到: http/websocket服务器都是继承自swoole_server,所以swoole_server提供的API,如task/finish/tick等都可以使用 但问题是,我该如何调用tick,after方法呢,request
同样的情况, 使用官网给的协程的连接数据的方法, 也会被挂起. // $swoole_mysql = new Swoole Coroutine MySQL(); // $swoole_mysql->connect([ // 'host' => '127.0
configure: ./configure --enable-swoole --with-php-config=/usr/local/bin/php-config --with-swoole --enable-async-redis --enable-mysqlnd

推荐博客

...