Yichun Zhang

Results 937 comments of Yichun Zhang

@panjunDev This is a known limitation. See https://github.com/openresty/lua-resty-lock/#limitations

@fengshenyun Sounds like you should really load the data in the `init_by_lua*` handler instead (i.e., in the master process before forking off workers).

@fengshenyun You can try using the blocking LuaSocket library to do this as long as its timeout protection is good enough. It does not matter to block in the master...

@CBarraford Just use the `select()` method to choose which "database" to use. See the original redis documentation for the corresponding `select` command for more details: http://redis.io/commands/SELECT

@CBarraford You can check if the connection comes from the connection pool by means of the `get_reused_times` method. You only need to run the `select` command if it is a...

@ilham9649 It seems that you have a 3rd-party Lua module named `table.new` in your system's Lua module search paths. You should remove it from the search paths.

@stuta Do you know any of the mainstream web browsers already support this per-message compression extension?

@stuta Thank you for the information. It'll be great if you can create your own git branch and experiment with the compression extension.

@moteus Pull requests welcome.

@geniuss99 Thanks for your hard work on this! It seems that the official nginx can already build on Win32 without patching: http://nginx.org/en/docs/howto_build_on_win32.html Maybe we should instead adjust the ngx_lua, ngx_devel_kit,...