Tianfeng.Han

Results 49 comments of Tianfeng.Han

确实有这个可能性的,底层并不保证 `onClose` 一定只有一次,特殊情况下,主动和被动、心跳强制切断,可能会出现重复的情况。

Your proposal is very good, we have a lot of places to return large strings, we can use stream to avoid copying

Please use gdb, strace, zbacktrace to trace the program

无法解压。请找出 valgrind 中 invalid read/write 等有实际意义的内容。或者提供可以稳定重现的demo

@z5864703 Please use valgrind to track the operation of the program, and find invalid reading and writing of memory. Please provide a minimal reproducible code

@need-sleep We are doing these things. We will provide C/C++ API later.

After server startup, change configuration may cause consistency problems.

https://github.com/swoole/php-amqplib This is a coroutine client , that can only run on swoole-2.1.1 or later demo ----- ```php $server = new \swoole_websocket_server("0.0.0.0", 2345); include(__DIR__ . '/config.php'); Co::set(['log_level' => 0]); use...

Test used physical machine. (Intel Core I7, 8G memory) Test script is here https://github.com/swoole/swoole-src/blob/master/benchmark/table.php