Yichun Zhang

Results 937 comments of Yichun Zhang

@kg1990 You'll have to debug your own Lua code here and narrow down the problem. If you believe it's a bug in lua-resty-redis, please provide a *minimal* and *standalone* example...

@lujo777 Your dynamic module has an incompatible version, it seems.

You can try compiling your dynamic module again against your current nginx build.

Maybe due to a different padding used by PHP?

@surfire91 Maybe this is helpful: https://github.com/openresty/lua-resty-string/issues/10#issuecomment-11960797

@haorenfsa What do you think of this pending pull request? https://github.com/openresty/lua-resty-string/pull/35

@haorenfsa That sounds like a bug to me. We should not do MD5 on the key unless explicitly dictated.

@rainingmaster Always returning `NGX_OK` in our body filter handler on the C land is wrong. We should return `NGX_ERROR` to signal the content handler to stop continuing immediately when the...

@rainingmaster Yes, otherwise the content handler will simply generate more data and continue calling the body filter chain.

@rainingmaster I think we should just throw out a Lua exception when a meaningless status code is provided as the argument. We should limit automatic nginx error logging in our...