mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
A request with a Range header was checked only for access, not for the day's downloads or the ratio, and was not counted, so Range: bytes=0- fetched a whole file past the limits uncounted. A Range request is now free only when it resumes the user's download of that file counted in the last day (BBS.Resuming, remembered by Downloaded); any other is a download like the rest, checked and counted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr