pgaertig / nginx-big-upload

Resumable and reliable file uploads of any size. Nginx extension written in Lua.
https://github.com/pgaertig/nginx-big-upload
Other
192 stars 49 forks source link

Switch to new Lua module syntax (5.1+) #26

Closed mmatuska closed 5 years ago

mmatuska commented 5 years ago

Currently the old Lua 5.0 module syntax is used (deprecated module() function). After this change latest ngx_lua modules don't complain about the usage of global variables in modules anymore.

Bumps required Lua version to 5.1 but this shouldn't be a problem.

pgaertig commented 5 years ago

Well done! Thanks!