Repository navigation
v1.9.0
1.9.0
Fixed
- RPC shutdown returns fake task ID —
Scheduler.Enqueuenow returns an
error when the scheduler is winding down or the pending queue is full (128
task cap), soDaemon.AddURLpropagates the failure to the RPC layer instead
of returning a task ID that will never complete. (internal/scheduler/queue.go,
internal/scheduler/daemon.go) - Config validation bypassed by config-file values —
Validate()checked
IsSet()(CLI-explicit only) for profile-specific rejections, allowing
config-file values to bypass semantic rules. Now validates final merged
values against defaults. (internal/config/config.go) - Negative
--split-fileaccepted — values like-sf -1silently passed
validation. Now rejected. (internal/config/config.go) --rpc-listen-allwithout authentication — binding to 0.0.0.0 with no
--rpc-secretor TLS was only warned, not blocked. Now rejected.
(internal/config/config.go)- Known-size single-stream short read — a single-stream download could
reach EOF before the probedTotalSizeand still succeed. Now detects the
mismatch. (internal/download/task_io.go) - Global 429 cooldown lived per-task — the adaptive 429 back-off timestamp
was on eachTask, allowing one task's success to prematurely restore the
shared rate. Now consolidated intoratelimit.Limiter. (internal/ratelimit/bucket.go)
Changed
- Dynamic connection reallocation — when a task completes, its connection
budget is redistributed to remaining tasks instead of sitting idle. The
scheduler now callsAdjustConnsat runtime. (internal/scheduler/)
Security
- WebSocket resource limits — inbound message size capped at 1 MiB,
read/write deadlines enforced (60s/10s), ping/pong keep-alive added.
(internal/rpc/ws.go) - Rate parser overflow protection — rejects NaN, Inf, negative rates, and
values exceedingint64or platformintcapacity.SetRatevalidates
before mutating. (internal/ratelimit/bucket.go) - CI self-modifying workflow removed — workflow no longer requests
contents: writeor pushes from CI runners. (.github/workflows/)