Commit Graph

1334 Commits (4b97a90ef91e2dbbab5a754ba2f9ac4cf85288fe)
 

Author SHA1 Message Date
Roger Light 4b97a90ef9 Tests and fixes for truncated PUB* packets
For the cases where reason_code is 0, or properties are missing.
7 years ago
Roger A. Light 5f8d86b4ee Fix sub-denied test. 7 years ago
Roger A. Light 4a2e569171 -V now accepts `5, `311`, `31`, as well as `mqttv5` etc. 7 years ago
Roger A. Light 326292681a Add maximum-qos support to broker and client.
This comes in the form of:

* Per listener maximum_qos option, which can be in the range 0-2.
* Changes to mosquitto_publish*() to return MOSQ_ERR_QOS_NOT_SUPPORTED
  if attempting to publish with a higher QoS than supported.
* Bridges will downgrade messages to match the maximum QoS.

More tests on the broker side (specifically bridges) are required. This
needs bridge support for MQTT 5 first.
7 years ago
Roger Light 930a314caf Add reason_code to on_publish_v5 callback. 7 years ago
Roger Light 740a128769 Support PUBREC reason code >=0x80 as partial qos2 flow. 7 years ago
Roger Light 6119f83571 Add receive-maximum=1 test for client. 7 years ago
Roger A. Light aeba5b5d0d Fix and tests for client side receive-maximum. 7 years ago
Roger Light 84660e1cbe Send maximum limits for QoS>0.
This needs more work on the broker front to simplify the design.
7 years ago
Roger Light 9aec82b0e1 Finalise test proplists in the packet gen funcs.
This makes it easier to add part of a proplist in the test itself, and have the gen func add some more.
7 years ago
Roger Light 1f9383d59a Helper test scripts for client properties. 7 years ago
Roger Light 5b6b8e53f4 Ignore some test generated files. 7 years ago
Roger Light 67c1d4453e Receive maximum support for clients. 7 years ago
Roger Light 0546e7bebc Add mosquitto_int_option and mosquitto_void_option
This deprecates mosquitto_opts_set().
7 years ago
Roger A. Light 2f54b16544 Fix mosquitto_pub not always sending everything with -l and QoS>0. 7 years ago
Roger A. Light 6eefb45b44 Broker tests for Receive Maximum. 7 years ago
Roger A. Light 16e83bfe5d Process receive maximum (as max_inflight_messages). 7 years ago
Roger A. Light 00c4fd137a More UTF-8 tests. 7 years ago
Roger A. Light 659cd2a3b1 Read reason code for PUBREC/PUBREL. 7 years ago
Roger A. Light c1baf21185 Add tests for subscription identifiers. 7 years ago
Roger A. Light 7c3666d593 Subscription identifier support. 7 years ago
Roger A. Light ef724e6d33 Add test for first packet not being CONNECT. 7 years ago
Roger A. Light dab6452a1d Add test for duplicate CONNECT. 7 years ago
Roger A. Light ec1178806c Fix bridge tests. 7 years ago
Roger A. Light fcf4cd0b27 Merge branch 'master' into mqtt5 7 years ago
Roger A. Light 31e6dbbe74 Tests and fixes for subscription options. 7 years ago
Roger A. Light 72fdb590b1 Fix no local and retain as published for local bridges. 7 years ago
Roger A. Light 94fdc9cb44 Disallow UTF-8 control characters. 7 years ago
Roger A. Light bc1349c0d7 Tests for user facing mosquitto_string_to_property_info function. 7 years ago
Roger A. Light 8b368aeb6b Fix memory leaks in tests. 7 years ago
Roger A. Light 699e5c762f Tests for user facing read functions. 7 years ago
Roger A. Light 679a9a54a5 Tests for user facing property add functions. 7 years ago
Roger A. Light 1e6117bcf5 Fix duplicate string property tests. 7 years ago
Roger A. Light 2919510384 No local support. 7 years ago
Roger A. Light db7901884f Retain-as-published support. 7 years ago
Roger A. Light 4933f889ff Fix missing header. 7 years ago
Roger A. Light 84c5d90f5c Website update for 1.5.5. 7 years ago
Roger A. Light a0a37d385d Update docker for 1.5.5. 7 years ago
Roger A. Light 66dfa57394 Don't use home interface until it is not auto connected. 7 years ago
Roger A. Light d28834d541 Merge branch 'fixes' 7 years ago
Roger A. Light a8ca5c83af Bump version. 7 years ago
Roger A. Light afe011866c Remove unused variables. 7 years ago
Roger A. Light 89f3d7bb3f Don't print connect/disconnect messages when connection_messages false.
Closes #772. Closes #613. Closes #537.

Thanks to Christopher Maynard, Brandon Arrendondo, and qubeck.
7 years ago
Roger A. Light a00dd29af8 Fix building where TLS-PSK is not available.
Closes #68.
7 years ago
Roger A. Light 9097577b49 Fix acl_file being ignore for default listener if with per_listener_settings
Close #1073. Thanks to Jef Driesen.

Bug: https://github.com/eclipse/mosquitto/issues/1073
7 years ago
Jelle van der Waa 1a6f8d3c28 src: ASN1_STRING_data is deprecated in OpenSSL 1.1
ASN1_STRING_get0_data replaces ASN1_STRING_data in OpenSSL 1.1 therefore
add an #ifdef for backwards compatibility.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
7 years ago
Roger A. Light f90ba23738 Retain handling support. 7 years ago
Roger A. Light 4fe75b1af0 Make user functions for reading properties easier to use. 7 years ago
Roger A. Light 608b8d33e7 Remove no longer used file. 7 years ago
Roger A. Light 73c46174f8 Don't call on_disconnect() twice if keepalive tests fail.
Closes #1067. Thanks to xingchen02.

Bug: https://github.com/eclipse/mosquitto/issues/1067
7 years ago