Commit Graph

1897 Commits (2e067d1700fe74fd46b5a3fd7582fd6cd9c23270)
 

Author SHA1 Message Date
Roger A. Light 2e067d1700 Refuse to compile with lws 3.2.0. 6 years ago
Roger A. Light b056bfcea5 Fix for websockets regression. 6 years ago
Roger A. Light 278130a2e9 Possible fix for #1385. 6 years ago
Roger A. Light 63db2d7961 Fix build WITH_TLS=no 6 years ago
Roger A. Light dadd94e7c1 Fix repeated "Error in poll" messages on Windows.
This occurs when only websockets listeners are defined.

Closes #1391. Thanks to stopak.
6 years ago
Roger A. Light ed8964de56 Fix CRL file not being reloaded on HUP.
Closes #35.
6 years ago
Roger A. Light b0e7e5fd77 Fix 11-message-expiry test when running under valgrind 6 years ago
Roger A. Light e88f58055d Updated SSL test files, plus a new empty crl file. 6 years ago
Roger A. Light 40c1a97c25 Fix missing locks on `mosq->state`.
Closes #1374. Thanks to Jeff Trull.
6 years ago
Heiko Bornholdt 76d0b327a9 Add missing EXPOSE instruction to all Dockerfiles
Signed-off-by: Heiko Bornholdt <bornholdt@informatik.uni-hamburg.de>
6 years ago
Matt Woelfel f118230b49 Fix usage of tls_engine and tls_keyform.
The current implementation does not properly forward the engine
parameters to OpenSSL causing OpenSSL to incorrectly attempt to open the
engine key uri as a file.

Sponsored-by: Trimble, Inc.
Signed-off-by: Matt Woelfel <matt@woelfware.com>
6 years ago
Roger A. Light 855772ec06 Fix websockets 3.2 causing slow connection on non-websockets listeners
Closes #1406. Thanks to pbrenna.
6 years ago
Roger A. Light c3c737eda7 alpine doesn't use glibc, so no memory tracking
Closes #1404. Thanks to Lichard Torman.
6 years ago
Roger A. Light 6f3e7b9ceb Further fix for #1401. 6 years ago
Roger A. Light 0cf3fc376e Ignore SSL artifacts. 6 years ago
Roger A. Light 8407c6d146 Fix Will not being sent if will delay greater than session expiry.
Closes #1401. Thanks to Will Lisac.
6 years ago
Roger A. Light 0415208a8a Improve error messages in some situations when clients disconnect.
Reduces the number of "Socket error on client X, disconnecting"
messages.
6 years ago
Roger A. Light e06b726564 Fix leak introduced in previous commit. 6 years ago
Roger A. Light 985366fe5d Fix clients using `use_identity_as_*` being disconnected on SIGHUP.
Closes #1402. Thanks to twegener-embertec.
6 years ago
Roger A. Light cf7ac452b8 Fix reconnect backoff where connections are dropped
Closes #737. Thanks to chelliwell.
6 years ago
Roger A. Light 982758a76e Fix bridges potentially not connecting on Windows.
Closes #478.
6 years ago
Roger A. Light 0e4d89c0a3 Guard ssize_t definition on Windows.
Closes #522. Thanks to trinytron.
6 years ago
Roger A. Light ee505336e0 Improve message_size_limit and various max_* option docs.
Closes #448.
6 years ago
Roger A. Light ea6753fe05 max_packet_size applies to 3.1.1 and 3.1 clients as well 6 years ago
Roger A. Light a87e244bb0 Improve details on global/per listener options in the mosquitto.conf man page.
Closes #274.
6 years ago
Roger A. Light 0a8d5d6db0 Fix slow websockets performance when sending large messages.
Closes #1390. Thanks to aalibasic.
6 years ago
Roger A. Light 701c1a9069 Fix support for libwebsockets 3.x. 6 years ago
YangHau 6a49b4ff38 Remove useless if statement
If statement for detecting if a pointer is NULL
is totally unnecessary.

Signed-off-by: YangHau <vulxj0j8j8@gmail.com>
6 years ago
Dan Langille a65e5137f9 $HOME/.config/mosquitto_sub or pub?
Should $HOME/.config/mosquitto_sub be $HOME/.config/mosquitto_pub? It seems to be that way based on my testing.

I think this is a copy/paste error.
6 years ago
Roger A. Light b5193c84d2 Don't error trying to cleanup missing persistence file. 6 years ago
Roger A. Light 04cf0cdf2d Fix WITH_STATIC_LIBRARIES using CMake on Windows
Closes #1369. Thanks to TimmvonderMehden
6 years ago
Roger A. Light a415d415c5 Fix v5 DISCONNECT packets with remaining length == 2.
These were being treated as a protocol error.

Closes #1367. Thanks to Frank Pagliughi.
6 years ago
Roger A. Light a8492b740c Fix missing function warnings on NetBSD.
Thanks to Greg Troxel.
6 years ago
Roger A. Light c5b25376bc Update Docker image to 1.6.4. 6 years ago
Roger A. Light 98a1e51d95 Bump version number, add release post. 6 years ago
Roger A. Light 0040a79a40 Windows fix 6 years ago
Roger A. Light d19cbb825c Fix properties not being sent on QoS>0 PUBLISH messages. 6 years ago
Roger A. Light c27a878e53 Fix memory leak when setting v5 properties in mosquitto_connect_v5() 6 years ago
YangHau 3d25b20eba feat: Remove unecessary if statement
free() would take no action if the arguement is a NULL pointer.
Therefore, the if statement is totally unnecessary.
See ISO-IEC 9899

Signed-off-by: YangHau <vulxj0j8j8@gmail.com>
6 years ago
Roger A. Light 06024700ba Clients: improve error msgs when connecting v3.x broker with v5 client
Closes #1344. Thanks to HowJMay.
6 years ago
Roger A. Light c0601b06a6 Fix location of readme-windows.txt
Closes #1361. Thanks to Duck Development.
6 years ago
Roger A. Light abad21a345 Fix link in CONTRIBUTING.md.
Closes #1362. Thanks to Furkan Aksoy.
6 years ago
Jonas Helgemo dfae3fce2e docs: Fix typo on man-page for mosquitto.conf
- man-page has a typo in the 'bridge_capath' section under SSL/TLS support

Signed-off-by: Jonas Helgemo <jhel@pm.me>
6 years ago
Roger A. Light 8743f2fd00 Fix incoming msgs not being removed when there are no subs
Fix incoming messages not being removed for a client if the topic being
published to does not have any subscribers.

Closes #1322. Thanks to Yannic Schröder.
6 years ago
Roger A. Light e98f121422 Index update. 6 years ago
Roger A. Light 0c0d8b8342 Fix incomgin QoS 2 with max_inflight_messages set to 1.
Closes #1332. Thanks to xmas79.
6 years ago
Roger A. Light 36532fa411 Fix mosquitto_string_option(, MOSQ_OPT_TLS_KEYFORM, ) return value
`mosquitto_string_option(mosq, MOSQ_OPT_TLS_KEYFORM, ...)` was incorrectly
returning `MOSQ_ERR_INVAL` with valid input. This has been fixed.

Closes #1360. Thanks to Michael Dombrowski.
6 years ago
Roger A. Light 4d4c5dd5a2 Make behaviour of `mosquitto_connect[_async]()` consistent.
`mosquitto_connect_async()` is now consistent with `mosquitto_connect()`
when connecting to a non-existent server.

Closes #1345. Thanks to Mohammad Reza.
6 years ago
Roger A. Light c3f4ee94a2 Set *name to NULL on failure. 6 years ago
Roger A. Light b5880f5e9a Set sock to invalid after closing. 6 years ago