MARiA so cute

Results 191 comments of MARiA so cute

In coroutines, fork or Swoole\Process cannot be used, otherwise the coroutine context will be duplicated.

请检查一下是否有xdebug这个扩展,是的话先屏蔽掉,虽然swoole5可以兼容xdebug,但是xdebug中的某个配置会触发swoole进程不断重启,除非找到是具体哪个xdebug配置引起的问题。 举个例子,xdebug会检查迭代操作,例如foreach,如果程序运行超过xdebug配置允许的次数,它就会抛出致命错误导致进程退出。 而且谜之操作就是xdebug引发的错误信息还不会输出到终端中。

@GHJayce We improved config.m4; some configurations can now set library locations via pkg-config.

You need to check if the third parameter `$reactorId` in the `onClose` event is -1 to determine if the connection was closed by the client or the server.

$reactorId greater than 0 indicates that the client has actively closed the connection. You need to check the client's code.

DEBUG和TREACE都是调试信息,下面的进程退出是个问题,看看是不是开启了协程,是的话尝试关闭。 或者用gdb和valgrind调试一下进程信息

Perhaps it is related to the SSL changes in PHP versions above 8.2 that I have not synchronized with Swoole. I need to take some time to look into this.