Media originals ignore HTTP range requests

Đang mở
#3,279 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
46/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
api, backend

Hướng nghiên cứu

Start with MediaEndpoints.cs around line 170 and trace how original files are opened by the S3 and Azure storage implementations. Check how ASP.NET Core Results.Stream(...) handles range requests and what each storage can provide for a requested byte range. Done means a range request for an original returns HTTP 206 with the requested range on every storage backend.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

plugin type:bug

Problem

MediaEndpoints.cs:170 streams originals with Results.Stream(...) without range processing. MP4, WebM, MP3 and WAV are allowed uploads: Safari and iOS refuse MP4 without 206 answers, seeking re-downloads from the start, and large downloads cannot resume.

Proposal

Enable range processing with a seekable or ranged stream; add a ranged open to the S3 and Azure storages, or redirect a range request to a short-lived presigned URL.

Acceptance

  • A range request for an original answers 206 with the range on every storage

Found in the code review of 17 Nov 2026 (B8).

Ngôn ngữ chính
C#
Star
569
Fork
107
Merge trung bình
2 giờ 49 phút
Pull request đã merge (30 ngày)
397

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.