alist/internal/net
j2rong4cn 2be0c3d1a0
feat(alias): add `DownloadConcurrency` and `DownloadPartSize` option (#7829)
* fix(net): goroutine logic bug (AlistGo/alist#7215)

* Fix goroutine logic bug

* Fix bug

---------

Co-authored-by: hpy hs <hshpy.pengyu@gmail.com>

* perf(net): sequential and dynamic concurrency

* fix(net): incorrect error return

* feat(alias):  add `DownloadConcurrency` and `DownloadPartSize` option

* feat(net): add `ConcurrencyLimit`

* pref(net): create `chunk` on demand

* refactor

* refactor

* fix(net): `r.Closers.Add` has no effect

* refactor

---------

Co-authored-by: hpy hs <hshpy.pengyu@gmail.com>
2025-01-27 20:08:39 +08:00
..
request.go feat(alias): add `DownloadConcurrency` and `DownloadPartSize` option (#7829) 2025-01-27 20:08:39 +08:00
request_test.go chore: remove refs to deprecated io/ioutil (#5519) 2023-11-16 05:16:15 -06:00
serve.go feat(alias): add `DownloadConcurrency` and `DownloadPartSize` option (#7829) 2025-01-27 20:08:39 +08:00
util.go feat(alias): add `DownloadConcurrency` and `DownloadPartSize` option (#7829) 2025-01-27 20:08:39 +08:00