lua-resty-zeromq icon indicating copy to clipboard operation
lua-resty-zeromq copied to clipboard

Results 1 lua-resty-zeromq issues
Sort by recently updated
recently updated
newest added

要发送的消息长度刚好是256时,打包长度参数时报错。 具体:当msg_size ==256时,114行的char(msg_size) ,会报错。因为char的有效范围0-255。 方法一: 把113行的msg_size/base > 1 改为msg_size/base >= 1 方法二: --打包msg_size的方法: local bit = require "bit" local rshift = bit.rshift local band = bit.band local len = {0,...