Aapo Talvensaari
Aapo Talvensaari
This is what I finally ended up: https://github.com/bungle/lua-resty-reqargs/blob/master/lib/reqargs/reqargs.lua There are room for improvements still (but I'll look those later): - max post files - max upload size per file -...
This adresses the concern mentioned here: https://github.com/openresty/lua-resty-upload/issues/41#issuecomment-367486252 But really, should this rather be optional (and `off` by default to not break backward compatibility)?
@ruiyinchen, Here is chat-app that I wrote to demonstrate some of my components for OpenResty Con 2015: https://github.com/bungle/iresty For web sockets, see: https://github.com/bungle/iresty/blob/master/site/bootstrap.lua#L37 And: https://github.com/bungle/iresty/blob/master/site/app/chat.lua It uses Redis as a...
Each web socket connection is for specific user. And your server has these handles. You could set up a queue based on say REMOTE_ADDR etc. But I would use something...
@ovoshlook, of course, you may grap it from a normal nginx variable `ngx.var.remote_addr`, but I wouldn't use it. You should at least check for reverse proxies, e.g.: https://github.com/bungle/lua-resty-session/blob/master/lib/resty/session.lua#L235-L252 (session module...
I think DATETIME needs to be: '1000-01-01 00:00:00' to '9999-12-31 23:59:59'. 'Tue Jan 12 18:31:10 2016' is obviously not like that.
@Dejfik, I think this is a right place to ask things about `lua-resty-auto-ssl`: https://github.com/GUI/lua-resty-auto-ssl
@Dejfik actually `lua-resty-auto-ssl` relies on [dehydrated](https://github.com/lukas2511/dehydrated), and it has by default a key size of 4096. Check dehydrated's configs for more info.
I feel like this is a generic issue in OpenResty, not just semaphores. Sleeps (or timers) prevent graceful exit, and they are not woken up on quit/reload. Same issue is...
I will add this to here as a reminder that implementing a cluster support is not something that can be done ligthly, many questions needs to be answered, a lot...