mosquitto/lib
Karl Palsson c6aac741c2 broker: support byte based queueing
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>
2016-09-09 17:27:39 +00:00
..
cpp Update copyrights. 2016-07-08 09:42:24 +01:00
CMakeLists.txt Merge branch 'master' into develop 2016-06-21 23:33:58 +01:00
dummypthread.h Don't use reserved names in header guards. 2016-03-13 18:43:13 +00:00
handle_connack.c Update copyrights. 2016-07-08 09:42:24 +01:00
handle_ping.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
handle_pubackcomp.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
handle_publish.c Update copyrights. 2016-07-08 09:42:24 +01:00
handle_pubrec.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
handle_pubrel.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
handle_suback.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
handle_unsuback.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
helpers.c "retained" -> "want_retained". 2016-01-26 17:10:54 +00:00
linker.version Check client topic inputs for valid UTF-8. 2016-06-20 22:56:01 +01:00
logging_mosq.c Update copyrights. 2016-07-08 09:42:24 +01:00
logging_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00
Makefile Check client topic inputs for valid UTF-8. 2016-06-20 22:56:01 +01:00
memory_mosq.c Update copyrights. 2016-07-08 09:42:24 +01:00
memory_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00
messages_mosq.c Update copyrights. 2016-07-08 09:42:24 +01:00
messages_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00
mosquitto_internal.h broker: support byte based queueing 2016-09-09 17:27:39 +00:00
mosquitto.c Update copyrights. 2016-07-08 09:42:24 +01:00
mosquitto.h Check client topic inputs for valid UTF-8. 2016-06-20 22:56:01 +01:00
mqtt3_protocol.h Don't use reserved names in header guards. 2016-03-13 18:43:13 +00:00
net_mosq.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
net_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00
packet_mosq.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
packet_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00
read_handle_shared.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
read_handle.c Update copyrights. 2016-07-08 09:42:24 +01:00
read_handle.h Update copyrights. 2016-07-08 09:42:24 +01:00
send_connect.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
send_disconnect.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
send_mosq.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
send_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00
send_publish.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
send_subscribe.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
send_unsubscribe.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
socks_mosq.c Update copyrights. 2016-07-08 09:42:24 +01:00
socks_mosq.h Big set of function renames. 2015-05-16 15:24:24 +01:00
srv_mosq.c Update copyrights. 2016-07-08 09:42:24 +01:00
thread_mosq.c Update copyrights. 2016-07-08 09:42:24 +01:00
time_mosq.c Drop Windows XP support, misc fixes on Windows. 2015-09-22 10:03:57 +01:00
time_mosq.h Don't use reserved names in header guards. 2016-03-13 18:43:13 +00:00
tls_mosq.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
tls_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00
utf8_mosq.c Check client topic inputs for valid UTF-8. 2016-06-20 22:56:01 +01:00
util_mosq.c Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
util_mosq.h Rename mosquitto_broker.h -> mosquitto_broker_internal.h 2016-07-08 10:10:04 +01:00
will_mosq.c Update copyrights. 2016-07-08 09:42:24 +01:00
will_mosq.h Update copyrights. 2016-07-08 09:42:24 +01:00