fdintino / nginx-upload-module

A module for nginx web server for handling file uploads using multipart/form-data encoding (RFC 1867).
http://www.grid.net.ru/nginx/upload.en.html
Other
986 stars 390 forks source link

chunked upload file hashes dropped #137

Open mdineen opened 3 years ago

mdineen commented 3 years ago

When partial_content is 1 (a chunked upload with >1 chunk) all of the hash update functions

ngx_http_upload_sha1_variable
ngx_http_upload_sha256_variable
ngx_http_upload_sha512_variable
ngx_http_upload_crc_32_variable

return.

There's also no persistence mechism to allow the accumulation of chunk hashes, which I think would have to be handled like state files.