Skip to content

v1.6.2

Choose a tag to compare

@github-actions github-actions released this 25 Apr 14:24
· 177 commits to main since this release

• رفع باگ "همهٔ دانلودها روی ۲۵۶ کیلوبایت قطع میشن" (#162): در relay range-parallel، اگه validation هر chunk رد می‌شد (مثلاً Apps Script هدر Content-Range رو حذف می‌کرد، یا origin روی chunkهای بعدی به جای 206 یه 200 برمی‌گردوند)، fallback اشتباهی پاسخ probe (یعنی فقط ۲۵۶ کیلوبایت اول) رو به‌عنوان فایل کامل برمی‌گردوند. مرورگر HTTP 200 با Content-Length=262144 می‌دید و دانلود رو "کامل" تلقی می‌کرد. حالا fallback یک GET تک‌مرحله‌ای جدید بدون Range هدر می‌فرسته که Apps Script کل URL رو fetch کنه (تا سقف ۵۰ مگ). برای فایل‌های بزرگ‌تر کندتره از مسیر parallel، ولی پاسخ کامل می‌ده — که اون چیزی هست که اهمیت داره. ۲ کاربر مستقل این رو ریپورت کردن (Ehsan، Recruit1992)

• Fix "every download capped at 256 KB" bug (#162): in range-parallel relay, when any chunk failed validation (e.g. Apps Script stripping the Content-Range header on follow-up chunks, or origin returning 200-instead-of-206 on later chunks), the fallback path silently returned the probe response (the first 256 KiB) as if it were the full file. Browsers saw HTTP 200 with Content-Length=262144 and treated the download as complete. The fallback now does a fresh single GET without the Range header, letting Apps Script fetch the full URL (up to its 50 MiB cap). Slower than the parallel path for large files, but produces a complete response — which is what matters. Two independent users (Ehsan, Recruit1992) reported this; closed-loop with both

Full Changelog: v1.6.1...v1.6.2