Skip to content
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-1.6.12 swoole_client->connect直接抛出swoole_client is already connected. #54

Closed
xudianyang opened this issue Apr 12, 2014 · 0 comments

Comments

@xudianyang
Copy link

操作系统环境:MAC OSX 10.9.2
PHP版本:5.4.14
查看源代码:swoole_client.c 833行,if (cli->connected != 1)
再到swoole_client_create_socket函数的调用,没有找到设置成员变量connected=1.
我注释掉if (cli->connected != 1)可以正常连接swoole server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant