Yichun Zhang
Yichun Zhang
@yingshang The formal OpenResty releases use LuaJIT 2.1 by default, BTW.
@yingshang OpenResty 1.11.2.5 should already use LuaJIT 2.1 by default. So maybe it's something else. Not sure.
@alonbg I'm still seeing test failures in your `echo-udp.t` file. Are you going to fix them all? I think each `echo` directive should generate a separate datagram packet. But if...
@alonbg I think we may need support in Test::Nginx::Socket for receiving multiple response packets, similar to ngx_stream_proxy_module's proxy_responses directive: http://nginx.org/en/docs/stream/ngx_stream_proxy_module.html#proxy_responses What do you think?
@alonbg Well, we can leave the `echo_read_packet` directive for now. Will you just add error handling code to the `echo_read_xxx` directives so that they don't crash the processes when UDP...
@alonbg Will you also add a test case for empty output packets? That is, UDP packets with a zero length payload.
This has been a TODO in ngx_redis2 (if you're willing to provide a patch, please let me know). For now, you need to use ngx_lua and lua-redis-parser and lua-cjson to...
@kn007 Please, no Chinese here. Now it's recommended to use the lua-resty-redis library plus lua-cjson for such things: https://github.com/openresty/lua-resty-redis http://www.kyne.com.au/~mark/software/lua-cjson.php Both of these are standard components in the OpenResty bundle.
@mikhailov Please use the OpenResty bundle directly which comes with all the libraries that I mentioned. See https://openresty.org/#Download Regards, -agentzh
@mikhailov You're recommended to build OpenResty from the latest source tarball yourself. You can find instructions for building on Mac OS X here: https://openresty.org/#Installation FYI the official OpenResty team does...