luamqtt
luamqtt copied to clipboard
luamqtt - Pure-lua MQTT v3.1.1 and v5.0 client
So here's a PR with a LOT of changes, more than I had anticipated, and definitely breaking. I'll try to give an overview by functionality. ## ioloop The ioloop "runs"...
gcc——toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2 lua:5.1.5 skynet:1.5.0 mqtt:3.4.2 My code is as follows: ``` local io = require("ioloop") local ioloop = require("mqtt.ioloop") local mq_loop = ioloop.create { sleep = 1, timeout = 1, sleep_function...
1. Fixed PINGREQ not sending when there is no packet received from server (e.g. network is broken) 2. Trigger connection close when PINGREQ not received from server
see tests for parsing examples.
the luasocket connector uses `shutdown`; https://github.com/xHasKx/luamqtt/blob/eacac48e31aa1a58974ef05d76687d8554a33207/mqtt/luasocket.lua#L22 the luasec based luasocket_ssl connector however uses `close`; https://github.com/xHasKx/luamqtt/blob/eacac48e31aa1a58974ef05d76687d8554a33207/mqtt/luasocket_ssl.lua#L45 is there a reason behind these asymmetrical calls?
Our broker was recently DDoSed, which caused a disconnect on our luamqtt end, and a reconnect attempt where the connecting routine took over a minute after which our service was...
Hello: Im try to using in Corona SDK and show a a error loop or previous error loading module 'mqtt.bit' 12:55:47.955 stack traceback: 12:55:47.955 [C]: in function 'require' 12:55:47.955 ?:...
Hi, I am embedding Lua in my Qt application. However, it seems to me that running luamqtt would require me to run it in a separate thread, because it uses...
When large messages are received (I'm testing with a payload of 2625000 bytes), the library starts to misbehave. Sometimes it hangs forever waiting for the actual message data to come...