Roger Light
9dd8d1e054
Handle mismatched handshakes properly.
...
For example, a QoS1 PUBLISH with QoS2 reply.
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
9df05e93c0
Add test for $test publishing bug.
7 years ago
Roger A. Light
ba175e581e
Update expired test certs.
7 years ago
Roger A. Light
f6f509031a
Add missing test.
7 years ago
Roger A. Light
11395f9852
Fix accessor functions for username and client id when used in plugin auth check.
7 years ago
Roger A. Light
6a75eb377b
Add test for issue in #828 .
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
7c496153a9
Add test for issue 505.
7 years ago
Roger A. Light
50abaedaff
Add new test to parallel test script.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Wolfgang Hottgenroth
50b0c0b1f1
Add test which currently fails.
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
7 years ago
Wolfgang Hottgenroth
9912418f78
Change test scripts according to hints in #507 (replace localhost by 127.0.0.1)
...
Signed-off-by: Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>
7 years ago
Roger A. Light
f40ccd195d
Disable queued bytes test pending a fix.
...
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
9fd55c0d44
Simplify broker tests with helper function.
7 years ago
Roger A. Light
40e2eab4c4
Disable queued bytes test temporarily.
7 years ago
Roger A. Light
cd271041f5
Add test for issue #874 .
7 years ago
Roger A. Light
d3b3ba86f1
Updated crude performance test.
8 years ago
Roger A. Light
ba71bc3b32
Experimental parallel testing for library.
8 years ago
Roger A. Light
5d2f5c25d7
Experimental parallel testing for broker.
8 years ago
Roger A. Light
51aa7b7121
Update tests as a step towards parallelism.
8 years ago
Roger A. Light
8cb3a29fd7
Fix a variety of protocol handling errors.
...
Closes #704
Closes #705
Closes #730
Closes #732
Thanks to Umberto Boscolo.
8 years ago
Roger A. Light
7615ae24ce
Handle CONNECT protocol errors.
...
Don't allow username when no username flag set.
Don't allow password when no password flag set.
Closes #730 . Closes #731 .
Thanks to Umberto Boscolo.
8 years ago
Roger A. Light
729a09310a
Add UTF-8 tests, plus some validation fixes.
...
Closes #693 .
8 years ago
Roger A. Light
24d68b5af8
Remove support for openssl 1.0.0 and 1.0.1.
...
These are no longer supported by openssl.
8 years ago
Roger A. Light
8676cc0359
Replace mentions of deprecated 'c_rehash' with 'openssl rehash'.
8 years ago
Roger A. Light
40e6a75709
Use c99 as compiling standard.
...
Closes : #765 .
8 years ago
Roger A. Light
c3314fd593
Add missing tests ( Closes #748 ).
8 years ago
Roger A. Light
dbdd113c86
Merge branch 'develop' of github.com:eclipse/mosquitto into develop
8 years ago
Roger A. Light
a979ed6535
Per listener plugins.
8 years ago
Pierre Fersing
6dd63d3000
Add more test for auth-plugin
...
Tests for:
* MOSQ_ACL_SUBSCRIBE acl check
* MOSQ_ERR_PLUGIN_DEFER with 2 auth-plugin
* Binary compatibility with v2 of auth-plugin
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
8 years ago
Roger A. Light
81cb7ab547
Merge branch 'fixes' into develop
8 years ago
Roger A. Light
b02c1a41bb
[670] Fix topic matching of foo/bar against foo/+/#
...
Thanks to mrdis.
Bug: https://github.com/eclipse/mosquitto/issues/670
8 years ago
Tatsuzo Osawa
024fd400d4
Fix Unsubscribe with No Topic
...
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
8 years ago
Pierre Fersing
7775924bae
[534]Fix upgrade_outgoing_qos for retained message
8 years ago
Pierre Fersing
a47c1a821b
Add test for bridge topic name mapping
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
8 years ago
Roger A. Light
d2118aeb17
[636] Don't run TLS-PSK tests when disabled at compile time.
...
Thanks to 'TBK'.
Bug: https://github.com/eclipse/mosquitto/issues/636
8 years ago
Tatsuzo Osawa
355bb37ab9
Fix 08-ssl-bridge.conf to dial localhost by ipv4.
...
Signed-off-by: Tatsuzo Osawa <tatsuzo.osawa@gmail.com>
8 years ago
Roger A. Light
b11855821e
Update UTF-8 validation checks.
8 years ago
Roger A. Light
a480a9daf9
Fix 08-ssl-bridge.py test when using async dns lookups.
...
Thanks to Tatsuzo Osawa.
Bug: https://github.com/eclipse/mosquitto/issues/507
8 years ago
Pierre Fersing
31639fec65
Add test for persistent subscription ( #501 )
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
8 years ago
Roger A. Light
e74203de2c
Merge branch 'master' into develop
8 years ago
Roger A. Light
96db6d6644
Fix CONNECT check for reserved=0, as per MQTT v3.1.1 check MQTT-3.1.2-3.
8 years ago
Roger A. Light
41a1b51c31
Print warning, skip test if paho-mqtt not available.
9 years ago
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>
9 years ago
Karl Palsson
9d00eab64c
tests: support generating longer publish packets
...
Remaining length for publish packets wasn't being handled completely.
Signed-off-by: Karl Palsson <karlp@etactica.com>
9 years ago
Roger A. Light
883af8af53
Better subtree searching.
9 years ago
Roger A. Light
e4db6a760f
Backwards compatibility for auth plugins.
9 years ago
Roger A. Light
025e56fd4c
New mosquitto_auth_psk_key_get()
9 years ago
Roger A. Light
b3df015ea7
New mosquitto_unpwd_check().
9 years ago
Roger A. Light
63f46a999f
Add username accessor.
9 years ago