diaspora/diaspora

Use chunking to upload photos

Open

#4997 aperta il 14 giu 2014

Vedi su GitHub
 (12 commenti) (1 reazione) (0 assegnatari)Ruby (2883 fork)batch import
help wanted✨ feature

Metriche repository

Star
 (13.654 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Currently the photo upload is done in one transfer, which is bad since slow connections will timeout very likely with larger file sizes. Also server configuration otherwise needs larger body size limits for uploads.

Chunking splits the file into small chunks and thus doesn't require special high limits server side to work with slow connections as well.

Example: http://blog.fineuploader.com/2012/12/28/file-chunkingpartitioning-is-now-available-in-3-2/

Related to #3653

Guida contributor