Roger A. Light
f588075931
[485589] Close stdin etc. when daemonised.
...
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=485589
2016-02-11 21:49:55 +00:00
Roger A. Light
eb514c9707
[487178] Obey mount_point when publishing wills.
...
Wills published by clients connected to a listener with mount_point defined
now correctly obey the mount point. This was a potential security risk
because it allowed clients to publish messages outside of their restricted
mount point. This is only affects brokers where the mount_point option is in
use.
Thanks to Lance Riley.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=487178
2016-02-11 21:17:55 +00:00
Roger A. Light
9497dab724
Merge branch 'fixes' of ssh://git.eclipse.org:29418/mosquitto/org.eclipse.mosquitto into fixes
2016-02-09 23:06:26 +00:00
Roger A. Light
f6939d4cbb
Merge branch 'develop' of ssh://git.eclipse.org:29418/mosquitto/org.eclipse.mosquitto into develop
2016-02-09 23:03:34 +00:00
Roger A. Light
f5c4b837e0
Fix merge error.
2016-02-09 23:03:26 +00:00
Roger A. Light
d5abf5a18a
Outgoing connections can use any TLS version.
2016-02-09 23:02:46 +00:00
Roger A. Light
fd6a6cac14
Only increment inflight msgs when limit not reached.
2016-02-09 23:01:31 +00:00
Roger A. Light
97e6ac22d8
Only increment inflight messages if the limit hasn't been reached.
2016-02-09 23:00:15 +00:00
Roger A. Light
26b015908e
Default to using MQTT v3.1.1.
2016-02-05 21:22:42 +00:00
Roger A. Light
1961404ec9
Add --retained-only to mosquitto_sub.
2016-02-02 20:57:37 +00:00
Roger A. Light
4e4c08aaf0
"retained" -> "want_retained".
2016-01-26 17:10:54 +00:00
Roger A. Light
7709621911
Reorder helper function arguments for consistency.
2016-01-26 17:06:32 +00:00
Roger A. Light
0a95c9a3af
Add mosquitto_subscribe_callback().
2016-01-26 17:00:08 +00:00
Roger A. Light
bd906e6753
Fix merge error.
2016-01-26 15:55:17 +00:00
Roger A. Light
1288b14dcb
Fixes and cleanup for subscribe_simple.
2016-01-26 09:55:32 +00:00
Roger A. Light
d157e8c603
Add examples for subscribe_simple.
2016-01-26 09:55:17 +00:00
Roger A. Light
896b4563fb
Add missing helpers code.
2016-01-26 09:26:17 +00:00
Roger A. Light
b83c58763d
Add mosquitto_subscribe_single()/multiple().
2016-01-25 23:12:33 +00:00
Roger A. Light
af96c0b8fa
[485143] Futher fix for broken win32 connections.
2016-01-19 14:05:39 +00:00
Roger A. Light
11b70d0a95
Force appveyor to use VS 2013.
2016-01-15 12:27:41 +00:00
Roger A. Light
9ed9b06079
Update appveyor openssl version.
2016-01-15 12:12:18 +00:00
Roger A. Light
00491da031
[485143] Fix detection of broken connections on Windows.
...
Thanks to Pierre-Yves Boisbunon.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=485143
2016-01-14 21:15:02 +00:00
Roger A. Light
c7d4f4bcff
mosq->want_write should be cleared immediately before a call to SSL_write.
...
This allows clients using mosquitto_want_write() to get accurate results.
2016-01-13 21:32:01 +00:00
Roger A. Light
51f275bd02
Error messages for websockets init failure.
2016-01-07 21:56:16 +00:00
Roger A. Light
fca9ac84f7
Merge fixes into develop.
2016-01-06 21:10:34 +00:00
Roger A. Light
3aa698d023
Add -U to mosquitto_sub for unsubscribing from topics.
2015-12-29 20:15:00 +00:00
Roger A. Light
646e0a0c32
Merge branch 'fixes'
2015-12-21 11:32:53 +00:00
Roger A. Light
a7136b3672
Bump version number.
2015-12-21 11:32:41 +00:00
Roger A. Light
2549919413
Fix support for libwebsockets 1.22.
2015-12-21 11:32:02 +00:00
Roger A. Light
156442c694
Merge branch 'fixes'
2015-12-20 20:35:30 +00:00
Roger A. Light
dc02e37af9
Bump version number.
2015-12-20 20:34:22 +00:00
Roger A. Light
7aa653c42f
Add support for libwebsockets 1.6.
2015-12-19 01:21:17 +00:00
Roger A. Light
c5a376489e
[483979] Fix "mosquitto_pub -l" stripping the final character on a line.
...
Thanks to Allan Kobelansky.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=483979
2015-12-18 22:29:32 +00:00
Roger A. Light
148df82144
[484693] Fix _mosquitto_socketpair() on Windows.
...
Thanks to Steve Woods and Roman Bogus.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=484693
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479143
2015-12-18 22:09:36 +00:00
Roger A. Light
559e2438cb
Revert "Add support for sending direct messages to clients."
...
This reverts commit 8f54cde293
.
2015-11-18 12:27:23 +00:00
Roger A. Light
f58f8aac0f
Document updates.
2015-11-16 16:47:12 +00:00
Roger A. Light
8f54cde293
Add support for sending direct messages to clients.
...
This works through $CLIENT/direct/<client id>, using the
allow_direct_messages option.
2015-11-13 21:01:56 +00:00
Roger A. Light
cc029829c3
Merge branch 'fixes'
2015-11-08 21:25:09 +00:00
Roger A. Light
3cab5e2e69
Bump version number.
2015-11-08 21:25:04 +00:00
Roger A. Light
80300f8fa1
[468987] Free unused topic tree elements.
...
Fix in 1.4.3 was incomplete.
Thanks to Guido Hinderberger et al.
2015-11-08 20:23:07 +00:00
Roger A. Light
6531a0f49d
Contributing note.
2015-11-01 16:39:40 +00:00
Roger A. Light
4b9b792d16
Update all mqtt 3.1 references to 3.1.1 where appropriate.
2015-10-24 21:50:19 +01:00
Roger A. Light
422a156e98
Revert man page to html rather than php.
2015-10-15 16:13:44 +01:00
Roger A. Light
26eac3c1ca
Fix possible memory leak with bridges and SSL.
...
Fix possible memory leak if bridge using SSL attempts to connect to a
host that is not up.
Thanks to Ed Morris.
2015-10-12 14:48:52 +01:00
Roger A. Light
89763a51d9
[478917] Don't truncate lines with "mosquitto_pub -l"
...
Thanks to Jan-Piet Mens.
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=478917
2015-10-11 22:55:54 +01:00
Roger A. Light
4afe1a1502
Swap plugin+built in order.
2015-10-02 21:44:39 +01:00
Roger A. Light
f5f5d3885d
Fix incorrect defines.
2015-09-29 12:34:56 +01:00
Roger A. Light
2078b6381a
Log CONNACK result for clients.
2015-09-29 12:33:51 +01:00
Simon Wunderlich
c02cdbefdc
mosquitto-lib: close socketpair on (re)connect
...
If the socket pair is still opened on reconnect, close it before
creating it again (just like the state variables). Otherwise, these
sockets are leaked on multiple mosquitto_connect() calls.
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
2015-09-22 17:10:26 +01:00
Roger A. Light
f5f1a64d40
Consistent installer naming.
2015-09-22 15:29:56 +01:00