c6aac741c2
Limiting queued message depth purely based on message count is hard to control for memory constrained devices. The size of messages can vary wildly, from a few bytes, to a few kilobytes. Support a new max_queued_bytes option, and drop packets when the first limit is reached. Option defaults to 0 (disabled) by default. Support also a max_inflight_bytes variable, with similar behaviour. Fixes (partof) https://github.com/eclipse/mosquitto/issues/100 This pulls up some helper routines for calculating whether to allow inflight or queuing, resolving some inconsistences in connection resumption. Signed-off-by: Karl Palsson <karlp@etactica.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
html.xsl | ||
libmosquitto.3.xml | ||
Makefile | ||
manpage.xsl | ||
mosquitto_passwd.1.xml | ||
mosquitto_pub.1.xml | ||
mosquitto_sub.1.xml | ||
mosquitto-tls.7.xml | ||
mosquitto.8.xml | ||
mosquitto.conf.5.xml | ||
mqtt.7.xml |