1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

28 Commits

Author SHA1 Message Date
wdvxdr
af032dec96 client/internal/highway: auto switch multi-thread upload 2023-02-20 15:05:19 +08:00
wdvxdr
e7a34fdd90 client/internal/highway: use pool for multithread upload 2023-02-19 23:06:15 +08:00
wdvxdr
3b97ce341b client/internal/highway: shorten lock time 2023-02-19 19:59:54 +08:00
wdvxdr
4716f69c1a client/internal/highway: fix typo 2023-02-19 19:42:26 +08:00
wdvxdr
da29660b3e client/internal/highway: use connection pool 2023-02-19 19:39:19 +08:00
wdvxdr
1ec3bbf188 client: use TCP method to upload group file 2023-02-17 18:01:43 +08:00
wdvxdr
f630205782 client: use UploadBDH for uploading forward message 2023-02-16 21:31:04 +08:00
wdvxdr
993ec128a0 all: fix some issue reported by golangci-lint 2023-02-13 15:33:55 +08:00
wdvxdr
aa5a8c45fc client/internal/highway: allow retry other server 2023-02-10 23:18:46 +08:00
wdvxdr
2a1fd324ca
client: add FileResource 2022-06-19 22:59:20 +08:00
wdvxdr
3f5174dda1
highway: fix upload exciting 2022-06-15 20:28:56 +08:00
wdvxdr
1b7e3d8580
binary: better bce for NewTeaCipher 2022-04-14 21:37:04 +08:00
wdvxdr
e2a42e5425
client: seek start 0 before upload 2022-03-28 15:27:59 +08:00
wdvxdr
33590e4b32
highway: rename BdhInput and Input to Transaction 2022-03-28 13:13:06 +08:00
lz1998
2dfc8f0cbc
delete useless code (#262) 2022-03-18 23:22:11 +08:00
wdvxdr
bc4e9f3c95
client: delete GetVipInfo
This api is broken.
2022-03-18 21:14:45 +08:00
wdvxdr
15a746802b
network,highway: move HeadBodyFrame to highway
This code only used by highway
2022-03-01 13:39:27 +08:00
wdvxdr
ca4580dad5
highway: refactor multi thread uploading 2022-02-27 16:46:11 +08:00
wdvxdr
e6ad62569d
Revert "highway: use io.ReadSeeker and disable multi-thread upload"
This reverts commit a2d65a2bb68227a493b1fe390e4ab77a95ff4234.

This commit break video uploading.
2022-02-27 14:14:18 +08:00
wdvxdr
a2d65a2bb6
highway: use io.ReadSeeker and disable multi-thread upload 2022-02-25 22:18:52 +08:00
wdvxdr
3555d23136
network: remove unnecessary sync.Pool 2022-02-25 21:21:21 +08:00
wdvxdr
c515024783
highway: reduce memcpy, memalloc by using net.Buffers 2022-02-23 22:19:01 +08:00
wdvxdr
fb2d3d28f0
client: remove similar code 2022-02-23 19:28:02 +08:00
wdvxdr
5e8a512698
client: allow multi-thread upload without cache file
Delete `UploadGroupImageByFile` since `UploadGroupImage` can multi-thread upload
2022-02-20 23:26:07 +08:00
Mrs4s
3b461554b7
fix highway memory leak 2022-01-18 00:50:08 +08:00
Lin
41a6cb05a7
fix socket block (#236) 2022-01-06 20:52:09 +08:00
wdvxdr
f464a0d474
fix: highway upload
caused by uin didn't set
2021-12-17 22:19:20 +08:00
wdvxdr
b398cec6a5
refactor: move highway.go to client/internal/highway 2021-12-15 19:13:52 +08:00