-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swoole_websocket_server连续接受小于8字节数据包中断 #648
Comments
详细描述你的环境,贴出测试的代码。 |
cat /proc/version php -v ws.php
client.php
测试运行结果如下: 把client.php中的send改为: 运行结果如下: |
应该是 client 缓冲区满了吧 |
只有数据包小于8字节才会出现这个情况。 不需要太多次,连续两次就会断掉 |
是客户端断掉连接还是服务器断掉连接? |
是客户端断掉连接还是服务器断掉连接? 客户端连续向服务器发送8字节的内容吗? 服务器端有什么错误日志? |
PHP5.6 是否会出现同样的问题? |
刚刚用php5.6测试了下,没有这样的问题。 |
测试环境为 swoole-1.7.22 PHP 5.6.17。 |
PHP5.6 + 1.8.4 存在此问题吗? |
|
ok |
hello!
swoole-1.8.4
swoole_websocket_server连续接受小于8字节数据包后中断接受客户端消息包,客户端可以收到server的消息,swoole_websocket_server回调中断。
这个是配置问题么?
The text was updated successfully, but these errors were encountered: