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
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
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
67c1d4453e
Receive maximum support for clients.
7 years ago
Roger A. Light
6eefb45b44
Broker tests for Receive Maximum.
7 years ago
Roger A. Light
00c4fd137a
More UTF-8 tests.
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
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
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
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
9896e61727
Test and small fix for response-topic and correlation-data props.
7 years ago
Roger A. Light
6ef2c79e9a
Add max_keepalive, for limiting keepalives of MQTT v5 clients.
7 years ago
Roger A. Light
fda66e8311
Add broker test for assigned client id.
7 years ago
Roger A. Light
f01042fb97
Simplify test makefiles.
7 years ago
Roger A. Light
085fdf3593
Add tests for Content Type property sending.
7 years ago
Roger A. Light
d5108956bf
Process session-expiry-interval on CONNECT and DISCONNECT.
...
Add test to check for invalid values.
7 years ago
Roger A. Light
34e7da426c
Use test helper for importing modules.
7 years ago
Roger A. Light
c31aae25a8
Fix v5 tests with no CONNECT properties.
7 years ago
Roger A. Light
3647dc357a
Test for retain_available=false.
7 years ago
Roger A. Light
0123ff1efe
Rename *_with_properties() -> *_v5().
7 years ago
Roger Light
17d213b79a
Declare lack of support for shared subs and sub IDs.
7 years ago
Roger A. Light
29cf4266d9
Remove old tests from ptest.py.
7 years ago
Roger A. Light
bb745b3308
Client prop test for format-payload-indicator.
7 years ago
Roger A. Light
22f284671d
Request-response test with/without correlation data
7 years ago
Roger A. Light
d7bcec4878
Don't disconnect clients when a plugin denies SUBSCRIBE.
...
Thanks to Ibrahim Koujar.
Bug: https://github.com/eclipse/mosquitto/issues/1016
7 years ago
Roger A. Light
c26892244c
Test x509 generation script requires no interaction now.
7 years ago
Roger A. Light
f77c1ca91b
private struct mqtt5__property -> public mosquitto_property.
7 years ago
Roger A. Light
12cba75c73
Client support for adding properties.
7 years ago
Roger A. Light
636e813d1c
Load of constant renames ahead of making mqtt_protocol.h public.
7 years ago
Roger A. Light
9eebcf6704
Rename property__free_all->mosquitto_property_free_all
...
Make public function.
7 years ago
Roger A. Light
12fa336140
Handle some incoming PUBLISH properties.
...
PAYLOAD_FORMAT_INDICATOR, CORRELATION_DATA, USER_PROPERTY, CONTENT_TYPE
are now all passed on to subscribing clients from an incoming PUBLISH
only (not from Wills). The other PUBLISH properties are silently
dropped.
7 years ago
Roger A. Light
6996fd450a
Simple pub/sub/unsub tests for v5.
7 years ago
Roger A. Light
52c25fa899
Simple connect test for v5.
7 years ago
Roger A. Light
723d9c2782
Check whether properties are on the correct commands.
7 years ago
Roger A. Light
42896112a1
Pub/sub topic checking tests.
7 years ago
Roger A. Light
1e9e552034
Property write bad identifier test.
7 years ago