对send/recv函数的hook可能会导致mysql查询连接丢失
ningwang-arch opened this issue · comments
Line 116 in ac52eeb
个人觉得这里应该再添加一个to!=0
的判断条件, 通过运行时对to
值的打印, mysql查询时to=0
, 同时返回报错Lost connection to server during query, 跳过to==0
则可进行正常查询并返回
困扰了我两天的问题,看到这 终于解决了
C++高性能分布式服务器框架,webserver,websocket server,自定义tcp_server(包含日志模块,配置模块,线程模块,协程模块,协程调度模块,io协程调度模块,hook模块,socket模块,bytearray序列化,http模块,TcpServer模块,Websocket模块,Https模块等, Smtp邮件模块, MySQL, SQLite3, ORM,Redis,Zookeeper)
ningwang-arch opened this issue · comments
Line 116 in ac52eeb
个人觉得这里应该再添加一个to!=0
的判断条件, 通过运行时对to
值的打印, mysql查询时to=0
, 同时返回报错Lost connection to server during query, 跳过to==0
则可进行正常查询并返回
困扰了我两天的问题,看到这 终于解决了