Commit Graph

1437 Commits (1ce1bce941ffce6f029b34d5e3db6b4d3ce5c360)
 

Author SHA1 Message Date
Roger A. Light 59b3fdfdf8 Add client property value reading functions. 7 years ago
Roger A. Light 158189393e Add v5 client callbacks. 7 years ago
Roger A. Light 9464e3fe19 Guard against possible null client id. 7 years ago
Roger A. Light 098a1c8ecf Fix subscribe_multiple datatypes. 7 years ago
Roger A. Light 353990e856 Tidy up test directory. 7 years ago
Roger A. Light beb96c6b8b Merge branch 'master' into develop 7 years ago
Roger A. Light 8960b1fe29 Update 1.5 docker image. 7 years ago
Roger A. Light b2fda04e1c Update website for 1.5.4. 7 years ago
Roger A. Light eda150f953 Add cunit dependency for travis. 7 years ago
Roger A. Light 265a3dd0b1 Merge branch 'fixes' 7 years ago
Roger A. Light e81db23ce4 Bump version number. 7 years ago
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.
7 years ago
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.
7 years ago
Roger A. Light b803b40a22 Update changelog. 7 years ago
Roger A. Light ba67e1ffe5 Don't use gnu-specific strerror_r. 7 years ago
Roger A. Light 34c752a0d0 Give better error message if a client sends a password without a username.
Closes #1015. Thanks to TabascoEye.
7 years ago
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
7 years ago
Roger A. Light feb303a919 Fix whitespace in Dockerfile. 7 years ago
Roger A. Light 1582117147 Build own libwebsockets in Docker image. 7 years ago
Iblis Lin 0368a8c01d add socket headers for FreeBSD
Signed-off-by: Iblis Lin <iblis@hs.ntnu.edu.tw>
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
Abilio Marques a4a5236568 fix bug where bridge doesn't honor restart_timeout setting
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
7 years ago
Bernd Kuhls 80f3bc4812 _GNU_SOURCE needed for EAI_INPROGRESS
Define of _GNU_SOURCE is needed to be able to use EAI_INPROGRESS in
loop.c.

This patch fixes a build error

loop.c:334:17: error: ‘EAI_INPROGRESS’ undeclared (first use in this function)
        if(rc == EAI_INPROGRESS){

occuring with a glibc-2.27-based buildroot toolchain for sparc64

Target: sparc64-buildroot-linux-gnu
[...]
gcc version 6.4.0 (Buildroot 2018.05)

Source:
http://autobuild.buildroot.org/toolchains/tarballs/br-sparc64-full-2018.05.tar.bz2
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7 years ago
Bartosz Taczała e86b27a2da Adding support for QNX7.0.0
Change-Id: Id01e2880aa5cadc0e93a46b95fe675e1938051fa
Signed-off-by: Bartosz Taczała <bartosz.taczala@mobica.com>
7 years ago
Roger A. Light eff8fab1b4 Only process network errors for clients that have nothing to read.
Closes #7.
7 years ago
Roger A. Light c26892244c Test x509 generation script requires no interaction now. 7 years ago
Roger A. Light 93f9e965a8 Only remove context from hash if there is a client id.
This should never happen, but just in case.
7 years ago
Roger A. Light da2879c33b Docker fixes.
- Don't remove apk database, closes #1011.
- Install mosquitto_passwd, closes #1009.
7 years ago
Roger A. Light f77c1ca91b private struct mqtt5__property -> public mosquitto_property. 7 years ago
Roger A. Light 80f526a5e5 Message Expiry Interval support. 7 years ago
Roger A. Light f9e0fa246a Validate properties coming into client library. 7 years ago
Roger A. Light 4ca83c1768 Fix leak when handling publish props. 7 years ago
Roger A. Light 4c0c632dfa Client memory "leak" fixes. 7 years ago
Roger A. Light 8aa936936e Library and client support for topic-alias. 7 years ago
Roger A. Light 55b46037da Change -y to -D in clients. 7 years ago
Roger A. Light de3a9af1f7 Client+library support for unsubscribe properties. 7 years ago
Roger A. Light 49a8642986 Disallow properties that are invalid for a command. 7 years ago
Roger A. Light 741a8a9cc3 Client disconnect property support, plus disconnect packet fix. 7 years ago
Roger A. Light 383608613a Client+lib will property support. 7 years ago
Roger A. Light 12cba75c73 Client support for adding properties. 7 years ago
Roger A. Light b462115fa6 Add reason code to PUBACK/REC/REL/COMP. 7 years ago
Roger A. Light ba874c6014 Merge branch 'mqtt5' of gitlab.com:ralight/mosquitto-private into mqtt5 7 years ago
Roger A. Light 446ad6290a Add mosquitto_string_to_property_info. 7 years ago
Roger A. Light c19b3598c0 Add mosquitto_string_to_command. 7 years ago
Roger A. Light 63a479564b Add mosquitto_property_command_check() 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 be5602be28 Add sections to mosquitto.h. 7 years ago
Roger A. Light d5aaeee1fb Use https for all downloads. 7 years ago
Roger A. Light 1853bfc678 Docker fixes as per review.
https://github.com/docker-library/official-images/pull/4987#issuecomment-433570818

Revert to stderr logging.
Use wget instead of curl.
Don't redownload libuuid or libwebsockets.
7 years ago