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
Roger Light
d0d8f1a83d
Merge pull request #2513 from Daedaluz/fixes
...
Don't reuse topic alias after reconnect.
3 years ago
Roger A. Light
ab1803d72f
Fix casting.
3 years ago
Roger A. Light
7f273e41d0
Merge branch 'abiliojr-sqlite_flush_page_options' into develop
3 years ago
Roger A. Light
5d483689bc
Merge branch 'sqlite_flush_page_options' of https://github.com/abiliojr/mosquitto into abiliojr-sqlite_flush_page_options
3 years ago
Roger A. Light
a84b5abb69
Update changelog and sort documentation order.
3 years ago
Roger A. Light
1ed8020057
Merge branch 'mlyszczek-add-float-format' into develop
3 years ago
Roger A. Light
cff5a831f8
Merge branch 'add-float-format' of https://github.com/mlyszczek/mosquitto into mlyszczek-add-float-format
3 years ago
Roger A. Light
4fd51e9681
Fix incorrect earlier commit
3 years ago
Abilio Marques
82b6eaa31d
Persist-sqlite: add flush_period and page_size options
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Roger A. Light
4f294a715b
Fix WS reads when fragmented packets are sent.
3 years ago
Michał Łyszczek
91bca8899c
mosquitto_sub: add support to print floats
...
This patch adds support for two new format specifiers (%f and %d)
to print float and double data.
Generally it's not save to directly take native binary data of one machine and
print it on another one (since mosquitto is multiarch). But in case of floats
it's save to print representation of it, if __STDC_IEC_559__ is defined.
In C99 Annex F, standard we can read:
> This annex specifies C language support for the
> IEC 60559 floating-point standard.
> (...)
> An implementation that defines __STDC_IEC_559__
> shall conform to the specifications in this annex
All float printing code is behind __STDC_IEC_559__, so if that is not
defined, floating print will be disabled and error returned to user.
Documentation also describes restrictions about printing floats.
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
3 years ago
Tobias Assarsson
a9a5ac2283
Don't reuse topic alias after reconnect.
3 years ago
Roger A. Light
75be1ed643
Improve uint16/32 packet read/write performance.
4 years ago
Roger A. Light
efc8d064de
Bring mosquittopp more up to date with libmosquitto.
4 years ago
Roger A. Light
5fcb2bc13f
Simplify use of headers.
4 years ago
Roger A. Light
4c72542eae
Move mosquittopp header to include dir.
4 years ago
Roger A. Light
af40a91fb1
Fix possible incorrect free of persist base msgs.
4 years ago
Christian Salvasohn
4077987593
fix data race mosquitto_loop function
...
next_msg_out must be protected with the msgtime_mutex
as done everywhere else in the code else there is a data race
e.g. if mosquitto_publish is called from another thread
Signed-off-by: Christian Salvasohn <csalvasohn@gmx.de>
4 years ago
Roger A. Light
09c296c175
Remove dead link.
4 years ago
Roger Light
b39526a998
Merge pull request #2485 from abiliojr/fix_default_bridge_backoff
...
fix default bridge backoff periods (scale seconds to milliseconds)
4 years ago