Roger A. Light
02b92b97ef
Fix use of MOSQ_OPT_SSL_CTX when used with MOSQ_OPT_SSL_CTX_DEFAULTS
...
Closes #2463 . Thanks to Tim Nordell.
3 years ago
Roger A. Light
f9fa19ce6a
- Fix `-o` not working in `mosquitto_ctrl`, and typo in related documentation.
...
Closes #2471 . Thanks to Vitaljok and rillbert
3 years ago
Roger A. Light
6468bb4f9b
Fix documentation omission around mosquitto_reinitialise.
...
Closes #2489 . Thanks to rroguski
3 years ago
Roger A. Light
351911bd8f
Fix incorrect return code being sent in DISCONNECT.
...
This is for when a client session is taken over.
Closes #2607 . Thanks to der-b
3 years ago
Roger A. Light
08610f7c99
Further fix for #2546 .
3 years ago
Roger A. Light
e979a46c04
Backport SSL connect fixes.
...
Closes #2594 .
Closes #2595 .
3 years ago
Roger A. Light
a913de2d28
Fix some PUBLISH messages not being counted in $SYS stats.
...
Closes #2448 . Thanks to Antoine.
3 years ago
Roger A. Light
ba6bbd5959
Add documentation of struct mosquitto_message to header.
...
Closes #2561 .
3 years ago
Roger A. Light
0c9d9f2163
Don't set SIGPIPE to ignore, use MSG_NOSIGNAL instead.
...
Closes #2564 . Thanks to nmeum.
3 years ago
Roger A. Light
8c0600c40c
Fixed build for openssl compiled with OPENSSL_NO_ENGINE.
...
Closes #2589 . Thanks to Dirk Feytons.
3 years ago
Roger A. Light
a146c218ad
Fix unlimited message quota not being properly checked.
...
This is for incoming messages.
Closes #2593 . Thanks to dongguoqing2015.
3 years ago
Roger A. Light
71a90177d7
Systemd: Add mosquitto group ownership
...
Thanks to minfrin
3 years ago
Roger A. Light
2e061afcc6
Fix build
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
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
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
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
Tobias Assarsson
a9a5ac2283
Don't reuse topic alias after reconnect.
3 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 Light
3cdeb595ff
Merge pull request #2504 from Hallot/fix/cmake-mosquitto-as-submodule
...
CMake: Use PROJECT_SOURCE_DIR to improve using mosquitto as subdirectory
4 years ago
Pierre Hallot
8504f6b70b
CMake: Use PROJECT_SOURCE_DIR to improve using mosquitto as subdirectory
...
When mosquitto is included as subdirectory, `CMAKE_SOURCE_DIR` does not refer to the mosquitto top level CMake file, but to the whole project top level CMake.
Use `PROJECT_SOURCE_DIR` instead to refer to the right CMake in both contextes.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
4 years ago
Abilio Marques
3c48b501e0
broker: fix memory leaks on plugin payload modification
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Roger A. Light
74814cc68f
Simplify cmake threads detection on Windows
...
Requires cmake 3.1.
4 years ago
Roger A. Light
ffe952f9c7
Merge branch 'podsvirov-win-threads' into fixes
4 years ago
Roger A. Light
49b1d7dfbd
Merge branch 'win-threads' of https://github.com/podsvirov/mosquitto into podsvirov-win-threads
4 years ago
Roger A. Light
fc06da2daa
Fix pthreads linkage.
4 years ago
Roger A. Light
1e9d00a1a1
Update changelog
4 years ago
Roger Light
fad0b39eaa
Merge pull request #2408 from tjlusco/constant-restart-timeout-fix
...
Fix constant restart_timeout
4 years ago
Roger A. Light
39f3030643
Fix client_generated flag not being copied on properties.
...
Closes #2401 . Thanks to Diorcet Yann.
4 years ago
Roger A. Light
41b1b0c6d1
Merge branch 'XavierDooms-fix-support-tick-with-per-listener-settings' into fixes
4 years ago
Roger A. Light
62c0d0c9c8
Merge branch 'fix-support-tick-with-per-listener-settings' of https://github.com/XavierDooms/mosquitto into XavierDooms-fix-support-tick-with-per-listener-settings
4 years ago
Roger A. Light
96931643a4
Use strings.h for strcasecmp, except on Windows.
...
Closes #2420 . Thanks to Frédéric Fauberteau.
4 years ago
Roger A. Light
497cbe0c6c
Update changelog
4 years ago
Roger Light
378e96db22
Merge pull request #2430 from abiliojr/fix_invalid_pwd_msg
...
fix confusing log message on connack error
4 years ago
Roger Light
5aa230dfe6
Merge pull request #2451 from ogayot/python3.10
...
tests: replace use of ssl.wrap_socket that throws warnings in Python …
4 years ago
Roger Light
0638447c88
Merge pull request #2458 from abiliojr/plugin_rewrite_leak
...
Fix memory leak when modifying topics using the plugin API
4 years ago
Olivier Gayot
b7fb911428
tests: replace use of ssl.wrap_socket that throws warnings in Python 3.10
...
The function ssl.wrap_socket() is deprecated starting Python 3.7 because
it does not support hostname matching (which is considered insecure). In
Python 3.10, the function now throws warnings at runtime, which makes
Ubuntu / Debian autopkgtest fail.
The function ssl.SSLContext.wrap_socket comes in as the replacement and
has support for SNI and hostname matching.
Replaced all uses of ssl.wrap_socket() by equivalent using
ssl.SSLContext.wrap_socket().
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
4 years ago
Abilio Marques
5f57de21cd
Fix memory leak when modifying topics using the plugin API
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Abilio Marques
26f747e0ac
fix confusing log message on connack error
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Xavier Dooms
bff71fd99f
support plugin tick callbacks with per_listener_settings enabled
...
add tests for the plugin tick
Signed-off-by: Xavier Dooms <dooms.xavier@gmail.com>
4 years ago