Roger A. Light
5d02f58151
Fix reconnect delay backoff behaviour.
...
Closes #1027 . Thanks to Harm Verhagen.
Bug: https://github.com/eclipse/mosquitto/issues/1027
2018-12-04 17:19:31 +00:00
Roger A. Light
e169f1c7c2
When using ADNS, don't ask for all network protocols when connecting.
...
This can lead to confusing "Protocol not supported" errors if the
network is down, because UDP sockets are provided.
Thanks to jsaak.
Closes #1062 .
Bug: https://github.com/eclipse/mosquitto/issues/1062
2018-12-04 12:39:00 +00:00
Roger A. Light
d29dac087d
Add socket_domain option.
2018-12-04 11:48:29 +00:00
Roger A. Light
8509dde342
Make docker uid/gid explicit.
...
Closes #1034 . Thanks to Daniele Sluijters.
2018-12-04 11:48:04 +00:00
Roger A. Light
9df80cfab1
Tidy up unused Windows installer pages.
2018-12-04 10:51:41 +00:00
Roger A. Light
34293d07c1
Always print leading zeros in mosquitto_sub when output format is hex.
...
Closes #1066 .
Thanks to skiizo.
Bug: https://github.com/eclipse/mosquitto/issues/1066
2018-12-04 09:24:04 +00:00
Roger A. Light
44135bc680
Web: Roadmap and MQTT 5 updates.
2018-11-29 22:54:25 +00:00
Roger A. Light
7020fad86c
Add server support for Assigned Client Identifier.
2018-11-29 17:19:26 +00:00
Roger A. Light
867fe80e0e
Properties are now freed after the callback.
2018-11-29 16:51:48 +00:00
Roger A. Light
1b854e250e
Function for copying property lists.
2018-11-28 17:09:17 +00:00
Roger A. Light
d5108956bf
Process session-expiry-interval on CONNECT and DISCONNECT.
...
Add test to check for invalid values.
2018-11-27 12:23:21 +00:00
Roger A. Light
34e7da426c
Use test helper for importing modules.
2018-11-27 11:26:21 +00:00
Roger A. Light
54db895cb3
Rename clean_session to clean_start for v5.
2018-11-27 10:02:10 +00:00
Roger A. Light
c31aae25a8
Fix v5 tests with no CONNECT properties.
2018-11-27 10:01:56 +00:00
Roger A. Light
1241f68ff5
Macro update
2018-11-27 09:58:39 +00:00
Roger A. Light
3647dc357a
Test for retain_available=false.
2018-11-22 21:32:49 +00:00
Roger A. Light
0123ff1efe
Rename *_with_properties() -> *_v5().
2018-11-22 18:55:04 +00:00
Roger Light
17d213b79a
Declare lack of support for shared subs and sub IDs.
2018-11-22 18:54:12 +00:00
Roger Light
a9d19d0911
Use MQTT 5 reason strings where appropriate in clients.
2018-11-22 18:22:31 +00:00
Roger Light
9560c5bac7
Add retain_available support.
2018-11-22 18:21:40 +00:00
Roger Light
36e8659762
Only keep reading from stdin if we are connected.
2018-11-22 18:14:12 +00:00
Roger Light
f809ecbcbe
Add DISCONNECT handling to library.
2018-11-22 18:13:18 +00:00
Roger Light
236e967161
Pass properties when disconnecting clients.
2018-11-22 18:09:31 +00:00
Roger Light
47129e395e
Use v5 callback in pub client.
2018-11-22 17:34:42 +00:00
Roger Light
6ca746695f
Pass db to send__connack() to give it access to config.
2018-11-22 17:32:43 +00:00
Roger Light
f7dc097f82
Move client disconnect code to own function.
2018-11-22 17:31:17 +00:00
Roger Light
3cb8a52ef3
Add reason code to mosquitto_disconnect_with_properties()
2018-11-22 16:56:17 +00:00
Roger Light
14c2f528cf
Add reason code to send__disconnect().
2018-11-22 16:52:39 +00:00
Roger A. Light
85d9cfa2fa
Fix pub client stdin mode.
2018-11-22 14:43:35 +00:00
Roger A. Light
d64ce2e242
Make mosquitto_reason_string public.
2018-11-22 10:17:16 +00:00
Roger A. Light
dd158ffeb3
Split common publish code into separate file.
2018-11-22 09:02:27 +00:00
Roger A. Light
29cf4266d9
Remove old tests from ptest.py.
2018-11-20 23:00:02 +00:00
Roger A. Light
bb745b3308
Client prop test for format-payload-indicator.
2018-11-20 23:00:02 +00:00
Roger A. Light
22f284671d
Request-response test with/without correlation data
2018-11-20 18:42:21 +00:00
Roger A. Light
94631ae68b
Don't free properties any more, we use them.
2018-11-20 17:54:44 +00:00
Roger A. Light
59b3fdfdf8
Add client property value reading functions.
2018-11-20 17:54:26 +00:00
Roger A. Light
158189393e
Add v5 client callbacks.
2018-11-20 14:36:18 +00:00
Roger A. Light
9464e3fe19
Guard against possible null client id.
2018-11-20 10:15:34 +00:00
Roger A. Light
8960b1fe29
Update 1.5 docker image.
2018-11-08 21:14:09 +00:00
Roger A. Light
b2fda04e1c
Update website for 1.5.4.
2018-11-08 21:13:24 +00:00
Roger A. Light
eda150f953
Add cunit dependency for travis.
2018-11-08 16:10:18 +00:00
Roger A. Light
265a3dd0b1
Merge branch 'fixes'
2018-11-08 14:52:06 +00:00
Roger A. Light
e81db23ce4
Bump version number.
2018-11-08 12:12:27 +00:00
Roger A. Light
b54e379fba
Fix websockets listeners not verifying client certs.
...
When using a TLS enabled websockets listener with "require_certificate"
enabled, the mosquitto broker does not correctly verify client certificates.
This is now fixed. All other security measures operate as expected, and in
particular non-websockets listeners are not affected by this. Closes #996 .
Thanks to creising.
2018-11-08 12:10:28 +00:00
Roger A. Light
71b8c4d892
Fix TLS connections when using an external event loop.
...
Affects the use of mosquitto_loop_read() and mosquitto_write().
Closes #990 .
2018-11-07 21:08:10 +00:00
Roger A. Light
b803b40a22
Update changelog.
2018-11-07 18:32:17 +00:00
Roger A. Light
ba67e1ffe5
Don't use gnu-specific strerror_r.
2018-11-07 18:27:15 +00:00
Roger A. Light
34c752a0d0
Give better error message if a client sends a password without a username.
...
Closes #1015 . Thanks to TabascoEye.
2018-11-07 17:29:39 +00:00
Roger A. Light
9f7577aab6
$SYS/broker/clients/disconnected should never be negative.
...
Closes #287 . Thanks to Lovisa Johansson.
Bug: https://github.com/eclipse/mosquitto/issues/287
2018-11-07 17:23:43 +00:00
Roger A. Light
feb303a919
Fix whitespace in Dockerfile.
2018-11-07 14:34:43 +00:00