摘要: websocketpp获取nginx反代后的客户端真实ip 测试代码: server::connection_ptr con = m_server.get_con_from_hdl(hdl); auto addr = con->get_socket().remote_endpoint().addre 阅读全文
posted @ 2020-11-11 15:54 飞 翔 阅读(473) 评论(0) 推荐(0)
摘要: 记录一下 -- 查看那些表锁到了 show OPEN TABLES where In_use > 0; -- 查看进程号 show processlist; --删除进程 kill 9000; 阅读全文
posted @ 2020-11-05 18:17 飞 翔 阅读(138) 评论(0) 推荐(0)