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

3.x Asyn\TcpClient\TcpClientPool 发现BUG一枚 #45

Closed
ql2005 opened this issue Apr 10, 2018 · 1 comment
Closed

3.x Asyn\TcpClient\TcpClientPool 发现BUG一枚 #45

ql2005 opened this issue Apr 10, 2018 · 1 comment

Comments

@ql2005
Copy link
Contributor

ql2005 commented Apr 10, 2018

自定义pack里package_max_length无论怎么设置,包都被拆成了固定长度的

检查代码才发现
43行
$this->set = $this->pack->getProbufSet();

然后在115行
$client->set($this->config->get('tcpClient.set', []));

$this->set 根本没有被调用.....白瞎了getProbufSet各种设置~

tcpClient.set 其实也没有~

$client->set($this->config->get('tcpClient.set', $this->set));

@tmtbe
Copy link
Collaborator

tmtbe commented Apr 11, 2018

多谢纠错

@tmtbe tmtbe closed this as completed Apr 16, 2018
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

2 participants