Commit Graph

1604 Commits (d5264338008dc2459d6994e4d527d3b06cc43d7f)
 

Author SHA1 Message Date
Roger Light 36e8659762 Only keep reading from stdin if we are connected. 7 years ago
Roger Light f809ecbcbe Add DISCONNECT handling to library. 7 years ago
Roger Light 236e967161 Pass properties when disconnecting clients. 7 years ago
Roger Light 47129e395e Use v5 callback in pub client. 7 years ago
Roger Light 6ca746695f Pass db to send__connack() to give it access to config. 7 years ago
Roger Light f7dc097f82 Move client disconnect code to own function. 7 years ago
Roger Light 3cb8a52ef3 Add reason code to mosquitto_disconnect_with_properties() 7 years ago
Roger Light 14c2f528cf Add reason code to send__disconnect(). 7 years ago
Roger A. Light 85d9cfa2fa Fix pub client stdin mode. 7 years ago
Roger A. Light d64ce2e242 Make mosquitto_reason_string public. 7 years ago
Roger A. Light dd158ffeb3 Split common publish code into separate file. 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 94631ae68b Don't free properties any more, we use them. 7 years ago
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