$ luarocks install lua-long-polling
On github you can find an example of a web server implementation using this library.
Link: https://github.com/TRIGONIM/lua-long-polling
redis-lua (https://luarocks.org/modules/nrk/redis-lua) is an optional requirenment
for those who want to use the redis storage.
Versions
Dependencies
lua >= 5.1