Commit Graph

7 Commits

Author SHA1 Message Date
ice909 4eaac1fe9a chore: change the connection timeout period to 5 seconds
Users can set the timeout period using environment variables `LINGLONG_CONNECT_TIMEOUT`.

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-04-07 17:30:11 +08:00
ice909 b24d059538 fix: network exception waiting time is to long
Setting connection timeout is 1 second.

Issue: https://github.com/OpenAtom-Linyaps/linyaps/issues/1041

Signed-off-by: ice909 <gaochang1@uniontech.com>
2025-03-12 16:31:23 +08:00
myml 8ec9eb817d feat: update client swagger
更新api swagger文件, 用于自动生成客户端代码
主要为了将RegisterStruct.size字段改为int64类型, 避免溢出
2025-03-11 17:16:29 +08:00
myml d7a995f14d feat: custom user-agent with api client and ostree
将玲珑版本号添加到user-agent便于服务端识别
2024-12-04 09:54:49 +08:00
myml 2fd118814d chore: clean build dependencies
添加libcurl的依赖, 清理不再需要的构建依赖

Log:
2024-09-26 19:09:16 +08:00
myml 773f34d607 refactor: use libcurl to replace QT NetworkManager
为简化程序依赖, 使用openapi generator生成新的http api相关代码
使用libcurl的替换现有的QT NetworkManager
2024-09-26 19:09:16 +08:00
myml 4c4d26567c feat: add libcurl client template
将openapi-generator最新(0026e15)的libcurl client模板文件复制到项目中,
方便定制生成内容, 单独放一个提交, 编译以后查看定制内容
2024-09-26 19:09:16 +08:00