VMPC (Variably Modified Permutation Composition) is a stream cipher similar to the well known and popular cipher RC4 designed by Ron Rivest. It was designed…
Read first: Lua Nginx|Openresty: use session with redis cluster Lua / Openresty: work with redis master-slave replication and redis sentinel Edit file /usr/local/share/lua/5.1/resty/session/storage/redis.lua Note: new…
We use lua-resty-redis-connector Install lua-resty-redis-connector luarocks install lua-resty-redis-connector Example of usage: Online demo: http://5.161.72.222/test/sentinel
We use lua-resty-websocket to create websocket server: https://github.com/openresty/lua-resty-websocket Solution: don’t use send_text, should use send_binary