Xiaobo Liu

Results 38 comments of Xiaobo Liu

lua-resty-redis is supported `auth [user] password` command, just pass two parameters. like this: ```lua red:auth("user", "password") ``` example: ```lua local res, err = red:auth("test", "123456") if err then ngx.say("failed to...

Hi @rttw , you can try to capture the packets using `tcpdump` to determine if the server is disconnected?

Remove `debug.traceback(co)` and it works.

Can you post the minimized configuration for problem reproduction?

You can try passing in the string length when calling `ffi.string`. ``` str = ffi.string(ptr [,len]) ```

You need install https://github.com/openresty/lua-resty-core and https://github.com/openresty/lua-resty-lrucache

You can use `tcpdump` to capture the packets to see the network interactions.

```shell ls vendor/github.com/chai2010/webp/ ``` 目录找不到 testdata / internal / fuzz / bench 文件夹

手动拷贝 testdata / internal / fuzz / bench 文件夹到 vendor 里面才编译通过

In my case, there is an endpoint that needs to add a data header to the modbus data and send it to it, which needs to be encapsulated using the...