10 Commits

Author SHA1 Message Date
61ff6fe46b 修改了 添加好友的代码
发现了获取验证码的bug delete sri后 无报错不发数据包
还有填写验证码 错误 session删除了
2023-06-16 20:37:27 +08:00
12cc086093 主要修复邮箱登陆,
可以根据account搜索用户
添加暂时没做
下一个步 添加 好友
2023-06-07 20:02:54 +08:00
f66340dcc0 smtp 合并到 MS 中
添加好友 取好友列表 略有修改
接下再来 要该包类型宏  备份一下
2023-05-16 17:12:05 +08:00
7b54e1449e 创建了vector保存固定数量的mysql链接,使用时取vector的, 暂时解了回收链接的问题。 而不是无限的新建
封了一层回收mysql链接的函数

解决了表面上的内存泄漏

30个链接 在4MB 左右
而新建 返回到池 在2.5 左右

注:后续好好看一下 mysqlpp 的连接池内容
Grab a free connection from the pool.
This method creates a new connection if an unused one doesn't exist, and destroys any that have remained unused for too long. If there is more than one free connection, we return the most recently used one; this allows older connections to die off over time when the caller's need for connections decreases. Do not delete the returned pointer. This object manages the lifetime of connection objects it creates.
Return values

a pointer to the connection
2023-05-13 14:27:10 +08:00
12d889fd52 0508 20:58 补充上一个 UserDB -> im_user bug 2023-05-08 21:03:29 +08:00
765ee70641 0508 20:58 补充上一个 验证码接口还没完善 2023-05-08 20:58:37 +08:00
54f219eef2 0508 20:26 更新了注册逻辑 修改为邮箱手机申请,添加验证码接口
包结构改变
2023-05-08 20:28:34 +08:00
22aad48719 0507 19:40 db service 分离 添加好友进度一丢丢 2023-05-07 19:40:48 +08:00
6f77f55609 小范围修改 删除打印 2023-05-04 12:55:59 +08:00
824ea2a25f tbb libevent protobuf 2023-05-03 19:09:14 +08:00