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

对send/recv函数的hook可能会导致mysql查询连接丢失 #27

Open
ningwang-arch opened this issue Jun 4, 2022 · 1 comment
Open

Comments

@ningwang-arch
Copy link

ningwang-arch commented Jun 4, 2022

if(to != (uint64_t)-1) {

个人觉得这里应该再添加一个to!=0的判断条件, 通过运行时对to值的打印, mysql查询时to=0, 同时返回报错Lost connection to server during query, 跳过to==0则可进行正常查询并返回

@ningwang-arch ningwang-arch changed the title 对send/recv函数的hook可能会导致mysql查询链接丢失 对send/recv函数的hook可能会导致mysql查询连接丢失 Jun 4, 2022
@ynwad
Copy link

ynwad commented Apr 2, 2024

困扰了我两天的问题,看到这 终于解决了

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