Media originals ignore HTTP range requests

Aperta
#3,279 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
46/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
C#
Stelle
569
Fork
107
Merge medio
2h 49m
PR unite (30g)
397

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fluentcms/FluentCMS

Tutte le issue di fluentcms/FluentCMS

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.