Roger A. Light
436635fda8
Use absolute rather than relative paths when installing.
3 years ago
Roger Light
38295aeca3
Merge pull request #2559 from newAM/fix-mosquittopp-path
...
Fix install path to mosquittopp.h
3 years ago
Roger Light
f1bf2938b0
Merge pull request #2577 from marchputt/patch-1
...
Fix syntax errors in examples
3 years ago
Pargorn Puttapirat
9417facffa
Fix syntax errors in examples
...
Problematics examples: addRoleACL and removeRoleACL
3 years ago
Roger A. Light
34391080d6
Add dynsec init by simple file.
3 years ago
Kai Buschulte
a7304083f8
throw BrokenPipeError if nothing received on sock
...
instead of ignoring this error, we throw an exception
the previous way might cause hard to find issues
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light
546df9db85
Build fixes, particularly pedantic compiler warnings.
3 years ago
Alex Martens
bb33c503b6
Fix install path to mosquittopp.h
...
Signed-off-by: Alex Martens <eclipse@thinglab.org>
3 years ago
Roger A. Light
29f49bf6ab
Publish global out_packet values to $SYS
3 years ago
Roger A. Light
2e061afcc6
Fix build
3 years ago
Roger A. Light
4099f8d1b6
Store out_packet bytes rather than having to calculate it.
3 years ago
Roger A. Light
e3246f547c
Print messages in mosquitto_passwd when adding/updating passwords.
...
Closes #2544 . Thanks to Shruti Nanda.
3 years ago
Roger A. Light
ebfebf8708
Fix bridges not sending failure notification messages.
...
This is for messages to the local broker if the remote bridge connection
fails.
Closes #1488 .
Closes #2467 .
3 years ago
Roger A. Light
3e1cf8a80b
Fix tests build.
3 years ago
Roger A. Light
c99502a256
Add clients to session expiry check list when restarting and reloading from persistence.
...
Closes #2546 . Thanks to Joachim Schachermayer.
3 years ago
Roger A. Light
80b36919b1
Fix incorrect pointer use.
3 years ago
Roger A. Light
29c6480c47
Improve documentation of `persistent_client_expiration` option.
...
Closes #2404 . Thanks to Rainer Plischke.
3 years ago
Roger A. Light
fe32e2506b
Add more mosquitto_passwd examples
3 years ago
Roger A. Light
2c8dc3968e
Migrate persist-sqlite to use persistence_location.
3 years ago
Roger A. Light
4ac8c0bcc3
Add deny-protocol-version example plugin, for 2.0 only.
3 years ago
Roger A. Light
09ac578459
Fix unused flags in CONNECT command being forced to be 0 in MQTT v3.1
...
This check is not required until v3.1.1.
Closes #2522 . Thanks to garinocyr
3 years ago
Roger A. Light
b6b8039914
Fix use of `MOSQ_OPT_TLS_ENGINE` being unable to be used.
...
This was due to the openssl ctx not being initialised until starting to connect.
Closes #2537 . Thanks to chessing-c4.
3 years ago
Roger A. Light
26b007f3fc
Fix Coverity 1488816, use of uninitialised value.
3 years ago
Roger A. Light
e5bf040fb7
Weekly Coverity Scan run.
3 years ago
Norbert Heusser
6fbf6fc5cb
Merge branch 'eclipse:develop' into develop
3 years ago
Roger Light
6bce50cb65
Merge pull request #2532 from buschulte/fixes-for-kqueue-memory-issue
...
Fix memory issues in kqueue operations
3 years ago
Roger A. Light
bf3a73a1cb
Merge branch 'buschulte-macos-cmake-build' into develop
3 years ago
Roger A. Light
51f9a76f03
Merge branch 'macos-cmake-build' of https://github.com/buschulte/mosquitto into buschulte-macos-cmake-build
3 years ago
Roger A. Light
e346288785
Merge branch 'buschulte-cmake-use-preinstalled-sqlite3-find-module' into develop
3 years ago
Roger A. Light
1749432382
Merge branch 'cmake-use-preinstalled-sqlite3-find-module' of https://github.com/buschulte/mosquitto into buschulte-cmake-use-preinstalled-sqlite3-find-module
3 years ago
Roger A. Light
127c5e7577
Update changelog
3 years ago
Roger A. Light
45a6b89e91
Merge branch 'abiliojr-fix_msg_modification_leak' into fixes
3 years ago
Roger A. Light
53a9e81480
Merge branch 'fix_msg_modification_leak' of https://github.com/abiliojr/mosquitto into abiliojr-fix_msg_modification_leak
3 years ago
JsBergbau
651331ff7d
Added queue_qos0_messages documentation for bridging
...
See https://github.com/eclipse/mosquitto/pull/2500
3 years ago
Kai Buschulte
a3125934dd
Fix macOS compile issues
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
7e4746aac4
Fix missing symbols MacOS
...
Core symbols needed by plugins are now properly linked to their objects
* Remove link_directories() call:
This specification is not necessary for our own libraries as cmake
shares this information over the targets.
If needed they should be specified target specific, like done for
the external DLT library.
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
0e9df05d0d
Add imported target for cJSON
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
15208e55cc
Use preinstalled CMake find module for SQLite3
...
CMake >= 3.14 comes with a preinstalled FindSQLite3 module, which now
replaces the self-written one.
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
6568984054
Fix memory issues in kqueue operations
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light
50dc039905
Migrate Coverity Scan run to GH actions
...
This is pending the addition of secrets.
3 years ago
Roger A. Light
4487b98dbb
Fix clean
3 years ago
Roger A. Light
634d75a5b2
Alphabetise
3 years ago
Roger Light
572e840b2f
Merge pull request #2527 from abiliojr/test_config
...
broker: add command line argument to test configuration and exit
3 years ago
Norbert Heusser
6150ae6560
Remove mosquitto__set_state after error from send__connect in mosquitto__reconnect to
...
fix failing test test/lib/02-subscribe-qos1.py $@/02-subscribe-qos1-async2.test
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser
306b76d7f6
Create github build action to build Mosquitto and added timeout
...
to python tests waiting for subprocess to avoid github actione being blocked
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Abilio Marques
102c275764
broker: add command line argument to test configuration and exit
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Roger A. Light
5731dd8653
Add mosquitto_persistence_location() for plugins.
3 years ago
Roger A. Light
1da29c9e51
Fix `-f` and `-s` options in mosquitto_rr.
3 years ago
Roger Light
82dff0f32d
Merge pull request #2510 from csalve/fix-missing-mutex-for-next_msg_out
...
fix data race mosquitto_loop function
3 years ago
Roger A. Light
0745a8536a
Update changelog.
...
Fix mosquitto_pub incorrectly reusing topic aliases when reconnecting.
Closes #2494 .
3 years ago