lua-resty-upload icon indicating copy to clipboard operation
lua-resty-upload copied to clipboard

支持断点续传和分块传输吗?

Open melin opened this issue 9 years ago • 5 comments

支持断点续传和分块传输吗?

melin avatar Jul 25 '14 06:07 melin

@melin Please don't use Chinese here. If you really want to, please join the openresty (Chinese) mailing list and use Chinese there instead: http://openresty.org/#Community Also, such general questions are better suited for a mailing list ;)

Regarding your questions, yes, lua-resty-upload is designed for streaming processing (that is, strictly non-buffered reading huge request bodies received in data chunks). But I've never heard there is resuming upload from breakpoints support in modern web browsers. Will you send me a link to the technical spec for this feature?

agentzh avatar Jul 25 '14 19:07 agentzh

@agentzh - I don't know Chinese, but regarding your comment-question - newest browsers with File API allows to do uploading from breakpoint. Few JS libraries support it:

misiek08 avatar Aug 10 '14 12:08 misiek08

@misiek08 , I want implement big file upload, do you have any sugesstion? @agentzh I don't know lua-resty-upload lib support big file upload?

sosojustdo avatar Jul 31 '16 13:07 sosojustdo

@sosojustdo This library supports non-buffered uploading (or streaming uploading), which means it can handle infinite upload data streams in a single connection and with constant memory footprint, at least in theory :)

agentzh avatar Jul 31 '16 17:07 agentzh

@agentzh ,thanks

sosojustdo avatar Aug 01 '16 05:08 sosojustdo