1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

13 Commits

Author SHA1 Message Date
Lumine
f8354ec082
修复TCP缓冲区不足问题;重构 qsign 签名服务对接部分;支持配置多个签名服务器 (#2389)
* fix: skip callback error

* update: update comment

* change the logic of callback and auto-register

* add token update prompt.

* fix log buffer string

* fix #2368

增加对 client 的利用,避免创建过多 clients

* refactor: wrap sign request

* feat: impl additional sign servers configuration

* fix error in using configurations.

* fix lint error

* 支持切换回主签名服务器

* feat: support different key and auth

* optimize: find avaliable sign-server

* fix: register instance after server is changed

* fix lint error

* update: add config 'sync-check-servers'

* update: first check master sign-server, or wait 3s

* add checking log & optimize wait for checking done

* fix wrong judge

* add config: rule for changing sign server

* optimize registration logic after changing server

* add some log

* fix #2390

* resolve requested changes in #2389

* update dependency

* fix lint error 'idx is unused'

* refactor: extract sync check and async check logic

* delete async check sign-server
2023-08-27 13:19:38 +08:00
Komei_DiSanXian
da9f03fa47
fix #2368, which causes system lacked sufficient buffer space (#2372)
* fix #2368

* add CloseIdleConnections at WriteToFileMultiThreading
2023-08-23 12:59:53 +08:00
源文雨
7c813f8579 feat: add config sign-server-timeout 2023-08-01 11:09:04 +08:00
SuperKenVery
7adbbd6f81
增加签名服务器请求超时时间 (#2302)
* Increase timeout in download

* 直接改一分钟好了

---------

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
2023-08-01 10:48:14 +08:00
achieve
aa3a5d28da
optimize: increase http client timeout (#2315) 2023-08-01 08:51:58 +08:00
wdvxdr
42606a825d internal/download: disable http when not visiting go-cqhttp.org 2023-04-09 17:51:32 +08:00
Mrs4s
0b90074a48
feat: http timeout setting 2023-04-08 17:08:53 +08:00
Mrs4s
d70d66d6d7
fix #2010 2023-03-27 09:51:47 +08:00
Mrs4s
174d99f94b
fix: add timeout setting for default http client 2023-03-18 10:35:19 +08:00
Mrs4s
278d6260c8
feat: implement t544 energy 2023-03-05 19:36:50 +08:00
Mrs4s
4d064e145f
fix #1864 2023-01-19 23:26:54 +08:00
wdvxdr
997cdceb7a internal/download: add comments
make lint happy!
2022-10-13 21:34:08 +08:00
wdvxdr
f4117bfb70 internal/download: move download logic to this package
also disable http2 when downloading, may fix some issue

For #1563
2022-10-13 21:27:36 +08:00