Roger A. Light
56d0f74725
Defer support for TLS-PSK.
9 years ago
Roger A. Light
8fcafcc6aa
#define SYS_TREE_QOS
9 years ago
Roger A. Light
1b659b41de
sys__ -> sys_tree__
9 years ago
Roger A. Light
43bcf6799c
Move static sys tree entries to sys_tree.c.
9 years ago
Karl Palsson
7cb8988192
websockets: fix compile fail after refactoring ( #207 )
...
A lot of function renaming was done in 663d50a016
,
and this websockets patch was merged afterwards. Autobuild testing
doesn't have websockets enabled, and missed this.
Fixes: d9142c3974
Signed-off-by: Karl Palsson <karlp@etactica.com>
9 years ago
Roger A. Light
a04662265a
Remove "mosq%d_vacuum" event as vacuum no longer done.
9 years ago
Roger A. Light
d54359598e
Move signals/events code to own file.
9 years ago
Dmitry Kaukov
6bf8b59d89
Signalling mosquitto process on Win32, using named events: ( #163 )
...
mosqPID_shutdown
mosqPID_reload
mosqPID_backup
mosqPID_vacuum
where PID is the PID of the mosquitto process
Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>
9 years ago
Roger Light
6eb8b0c0e8
Merge pull request #190 from remakeelectric/db_dump-fixes
...
Db dump fixes
9 years ago
Roger A. Light
b6385d347a
[198] Update Changelog.
...
Closes #198 .
Bug: https://github.com/eclipse/mosquitto/pull/198
9 years ago
jbwdevries
1c90a4487c
Fixes a bug where the C++ wrapper would always claim SOCKS was not supported. ( #198 )
...
The WITH_* flags are not handed over to the C++ wrapper, instead it relies on
the actual library to check status.
Signed-off-by: Johan de Vries (Ubuntu VM) <devries@wivion.nl>
9 years ago
Roger A. Light
eaef3db142
O_DIRECTORY not supported everywhere, use O_RDONLY.
9 years ago
Roger A. Light
84df2bb923
[189] Call fsync after persisting data.
...
To ensure it is correctly written. Closes #189 .
Thanks to thanhvtruong.
Bug: https://github.com/eclipse/mosquitto/issues/189
9 years ago
Roger A. Light
fff741613e
Support for openssl 1.1.0.
9 years ago
Roger A. Light
6a6efb6143
Fix ssl bridge test.
9 years ago
Roger A. Light
2b2279363b
Bridge defaults to mqtt3.1.1 as per documentation.
9 years ago
Roger A. Light
1c3988a397
Merge branch 'master' into develop
9 years ago
Roger A. Light
2c54104ce3
[191] Fix some $SYS messages being incorrectly persisted.
...
Closes #191 .
Bug: https://github.com/eclipse/mosquitto/issues/191
9 years ago
Roger A. Light
63e3926987
Perform UTF-8 validation on will, sub, unsub topics in the broker.
9 years ago
Karl Palsson
339842b623
db_dump: (trivial) add missing newline in output
...
Signed-off-by: Karl Palsson <karlp@etactica.com>
9 years ago
Karl Palsson
b1efd9a868
db_dump: properly print uint64_t
...
store id is a uint64_t, print it consistently.
Signed-off-by: Karl Palsson <karlp@etactica.com>
9 years ago
Roger A. Light
a8a5daf06b
Check client topic inputs for valid UTF-8.
9 years ago
Roger Light
d813e11ca7
Merge pull request #175 from jcavar/master
...
Change pod name to Mosquitto
9 years ago
Roger A. Light
fa2d3143a4
Separate the C and C++ static libraries.
9 years ago
Roger A. Light
2286caaca2
Merge branch 'enhance-bare-makefile-static-library-build' of https://github.com/Lance0312/mosquitto into Lance0312-enhance-bare-makefile-static-library-build
9 years ago
Roger A. Light
d90cd585dd
Add WITH_STRIP build option.
9 years ago
Roger A. Light
23113bb5f5
[7] Don't disconnect client on HUP before reading the pending data.
...
Closes #7 .
Bug: https://github.com/eclipse/mosquitto/issues/7
9 years ago
Roger Light
6c87f7a514
Merge pull request #179 from Lance0312/enhance-static-library-build
...
Enhance static library build
9 years ago
Roger A. Light
f8d84a62bd
Fix cmake test target.
9 years ago
Roger A. Light
e02019ee5b
Travis helpers.
9 years ago
Roger A. Light
8663d6aff7
Merge branch 'master' of github.com:eclipse/mosquitto
9 years ago
Roger A. Light
54ca15ad28
Bump appveyor openssl version.
9 years ago
Roger A. Light
6459bc026e
Bump appveyor openssl version.
9 years ago
Roger A. Light
41980083db
Bump appveyor openssl version.
9 years ago
Roger A. Light
1cd40925b8
[184] Don't attempt to install docs when WITH_DOCS=no.
...
Thanks to minghuadev.
Bug: https://github.com/eclipse/mosquitto/issues/184
9 years ago
Roger A. Light
63416e6547
;
9 years ago
Roger A. Light
5d96c3d7ba
[186] Fix TLS operation with websockets listeners and libwebsockts 2.x.
...
Bug: https://github.com/eclipse/mosquitto/issues/186
9 years ago
Roger A. Light
91bfd82491
Merge branch 'fixes'
9 years ago
Roger A. Light
2d0af7309f
Bump version number.
9 years ago
Roger A. Light
30686f2dc9
Fix mosquitto_topic_matches_sub().
9 years ago
Lance Chen
5ccd0dbb80
Add an build option to control building static libraries or not
...
The option WITH_STATIC_LIBRARIES is default to yes
Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Lance Chen
97847fa95b
Rename option BUILD_STATIC_LIBRARY to WITH_STATIC_LIBRARIES
...
to conform to the bare Makefiles
Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Lance Chen
4b4817c3f0
Build the CPP static library with bare Makefiles
...
In order to make the CPP static library include all
objects from the C static library, the list of objects
(MOSQ_OBJS) is isolated into objects.mk to be used for
building the C and CPP static libraries.
Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Lance Chen
a9b7237d09
Install/Uninstall the C static library
...
Symbol stripping is done explicitly with strip command,
since stripping with install command removes too many
symbols, making the result library unusable.
Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Roger A. Light
ea2baa876c
Fix rare possible crash when writing persistence file.
9 years ago
Roger A. Light
c035913b2a
[180] Fix #includes in lib/send_mosq.c
...
Ensures that LWS_LIBRARY_VERSION_NUMBER is always present in all source
files when it is defined.
Thanks to dennisip86.
Bug: https://github.com/eclipse/mosquitto/issues/180
9 years ago
Lance Chen
f18e8e12a8
Add build configuration for CPP static library
...
The CPP static library respects options
BUILD_STATIC_LIBRARY and WITH_PIC as well.
Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Lance Chen
aa360e4029
Add an option to control building static library with PIC or not
...
The option WITH_PIC is default to OFF.
By default, the static library is built from the
source code directly. If WITH_PIC is enabled, the
static library is built with the same set of
object libraries that the shared library uses.
To link Mosquitto static library into a shared
library, one must enable WITH_PIC to make the
piece of code locatable.
Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Lance Chen
7ee997e6cc
Add an option to control building static library or not
...
The BUILD_STATIC_LIBRARY option is default to ON.
Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Roger A. Light
ff78cd7873
Fix publishing of $SYS/broker/clients/maximum.
9 years ago