Roger A. Light
3c51816009
Fix leak on error.
2023-04-12 11:52:26 +01:00
Roger A. Light
6d240a9d18
Fix bridges being expired after being restored.
...
This occurred with non-matching cleansession/local_cleansession being
expired on start after restoring from persistence.
Closes #2634 . Thanks to everyone on the issue.
2023-04-08 09:15:46 +01:00
Roger A. Light
3b2f3c6d8a
Windows: Increase connection limit to 8192 where supported.
...
Closes #2732 . Thanks to zhousongsong.
2023-04-07 19:29:32 +01:00
Roger A. Light
4f9c5567ba
Fix example plugin incorrect callback unregister.
...
Closes #2673 . Thanks to Karl Palsson.
2023-04-01 22:36:38 +01:00
Roger A. Light
655f9e58b7
Update blog post with non-expired Lets Encrypt root.
...
Closes #2692 . Thanks to Matt Turner.
2023-04-01 22:28:02 +01:00
Roger A. Light
5a748806d3
Default to max keepalive 0.
2023-04-01 22:19:54 +01:00
Roger A. Light
cc97f433c1
Use line buffered mode for stdout.
...
Closes #2354 .
Closes #2749 .
2023-04-01 21:16:07 +01:00
Roger A. Light
1bf753e773
Fix confusing message on TLS certificate verification.
...
Closes #2746 . Thanks to Akos Vandra-Meyer.
2023-04-01 17:52:12 +01:00
Roger A. Light
1195dd991e
Clearer len calculation.
2023-04-01 08:50:03 +01:00
Roger Light
ec6a56d759
Merge pull request #2734 from axos88/patch-1
...
Fix malloc size for file path
2023-04-01 08:48:30 +01:00
Roger A. Light
63da7472b5
Fix default settings incorrectly allowing TLS v1.1.
...
Closes #2722 . Thanks to KramNamez.
2023-03-28 01:39:28 +01:00
Roger Light
5cae46d26d
Merge pull request #2745 from Hyeongon-Kim/fix-load-priv-key-file
...
fixed a bug where broker's private-key file was not loaded
2023-03-28 01:03:42 +01:00
Roger A. Light
7e35ac92ec
Update changelog
2023-03-27 23:42:19 +01:00
Roger A. Light
a991a8373f
Merge branch 'Daedaluz-fixes' into fixes
2023-03-27 23:39:06 +01:00
Roger A. Light
6f61710fa7
Merge branch 'fixes' of github.com:Daedaluz/mosquitto into Daedaluz-fixes
2023-03-27 23:37:55 +01:00
Roger A. Light
103253deda
Windows build for fixes branch.
2023-03-14 23:16:49 +00:00
Roger A. Light
28a39e62ff
Remove unused header.
2023-03-07 14:16:27 +00:00
Tobias Assarsson
2e2a420099
use CLOCK_BOOTTIME when available.
...
Signed-off-by: Tobias Assarsson <tobias.assarsson@gmail.com>
2023-03-02 09:04:59 +01:00
Hyeongon Kim
19fbfee791
fixed a bug where broker's private-key file was not loaded
...
fixed a bug where the mosquitto-broker's private-key file(.pem)
dose not load with tls-engine.
Signed-off-by: Hyeongon Kim <khyeongon@gmail.com>
2023-02-06 15:02:30 +09:00
Akos Vandra-Meyer
e0d8ef20fa
Fix malloc size for file path
...
We need 4 more characters to store the suffix.
2023-01-20 21:13:54 +01:00
Roger A. Light
4e6fbae45c
Delete old workflow runs.
2023-01-15 22:18:31 +00:00
Roger A. Light
a6347cd7d2
Fix Coverity Scan 1501449.
2023-01-04 11:38:28 +00:00
Roger A. Light
48f276f88d
Fix multiple domains in renewal.
2022-12-30 10:34:18 +00:00
Roger A. Light
0fb4e2bf6a
Fix incorrect topic-alias property value in mosquitto_sub json output.
2022-12-22 13:21:42 +00:00
Roger A. Light
62b68364c7
Fix std* files not being redirected when daemonising
...
This could occur when built with assertions removed.
Closes #2708 . Thanks to ckoehne.
2022-12-16 16:19:51 +00:00
Roger A. Light
ec173fffe8
Merge branch 'podsvirov-make-man' into fixes
2022-12-16 15:52:32 +00:00
Roger A. Light
c77fa4c089
Merge branch 'make-man' of https://github.com/podsvirov/mosquitto into podsvirov-make-man
2022-12-16 15:52:25 +00:00
Roger Light
a54e5e3abc
Merge pull request #2689 from zivillian/patch-1
...
fix example JSON
2022-12-07 22:42:45 +00:00
Roger Light
80a4063bb4
Merge pull request #2683 from guillaumepellegrino/fixes_memleak
...
Fix memory leak in mosquitto_tls_opts_set()
2022-12-07 22:41:29 +00:00
Roger Light
ed5a39dd93
Merge pull request #2690 from ronybc/patch-1
...
Removed repeated line
2022-12-07 22:08:14 +00:00
Roger Light
55e448e38d
Merge pull request #2699 from rswindell/include_inttypes
...
Fix build error: expected ‘)’ before ‘PRIu64’
2022-12-07 22:06:31 +00:00
Roger A. Light
06d5835270
Add more WITH_BROKER guards.
2022-12-03 22:59:14 +00:00
Rob Swindell
7ff744d60d
Fix build error: expected ‘)’ before ‘PRIu64’
...
system with 'make WITH_TLS=no WITH_CJSON=no WITH_DOCS=no'
Signed-off-by: Rob Swindell <rob@synchro.net>
2022-12-02 11:52:34 -08:00
Roger A. Light
8285a57bb9
Fix some error handling related to the bind_interface
option.
2022-12-02 14:31:40 +00:00
Roger A. Light
c06599fab2
Fix some retained topic memory not being cleared immediately after used.
2022-11-29 11:55:55 +00:00
zivillian
a562c93079
fix example JSON
...
Signed-off-by: zivillian <devel@zivillian.de>
2022-11-22 20:26:38 +01:00
Rony B Chandran
d1cdaec963
Removed repeated line
...
<listitem><para><option>%I</option> ISO-8601 format date and time, e.g. 2016-08-10T09:47:38+0100</para></listitem>
2022-11-22 11:53:31 +05:30
Guillaume PELLEGRINO
9018f12dfc
Fix memory leak in mosquitto_tls_opts_set()
...
When calling mosquitto_tls_opts_set() multiple time in a row
on the same mosquitto context (Example: trying to reconnect
to mqtt broker), some of the tls options are not free, resulting in a memory leak.
The TLS options (tls_version, tls_ciphers) must be free before being set.
Signed-off-by: Guillaume PELLEGRINO <guillaume.pellegrino@yahoo.com>
2022-11-09 10:17:03 +01:00
Roger Light
7ff2198c7d
Merge pull request #2648 from impulsdampf22/fixes
...
Fixed empty string crash in mosquitto_property_copy_all
2022-11-03 18:43:13 +00:00
Roger A. Light
0cee0d1d11
Fix Coverity Scan 1486944 (backport from develop)
2022-10-26 10:06:38 +01:00
Roger Light
db114fa1d3
Merge pull request #2614 from HashimJVZ/patch-1
...
Correct a wrong example
2022-10-10 11:26:01 +01:00
Roger Light
d4e69c41bf
Merge pull request #2621 from CastleOnTheHill/master
...
Fix comments errors, it is the client that sends PING to broker actively
2022-10-10 11:15:29 +01:00
Alexander Fiebig
28416da47a
Fixed empty string crash in mosquitto_property_copy_all
...
Signed-off-by: Alexander Fiebig <alex.fiebig@online.de>
2022-10-08 19:08:21 +02:00
Roger A. Light
5c3c5d779f
Fix Coverity 1486949
2022-08-31 11:36:53 +01:00
Roger A. Light
f44d8fad50
Fix Coverity 1491742 and 1491741
2022-08-31 10:00:05 +01:00
Roger A. Light
e22030bb2c
Try to convince Coverity this string is terminated.
2022-08-31 09:49:37 +01:00
Arvin
dcad2e410a
Fix comments errors, it is the client that sends PING to broker actively
2022-08-24 23:28:06 +08:00
Roger A. Light
86fffa34a9
Fix $SYS messages being expired after 60 seconds
...
and hence unchanged values disappearing. Thanks to Wim Nelis and
Christoph Krey.
2022-08-22 15:57:14 +01:00
Roger A. Light
ef44b22cef
Fix local bridge session expiry interval.
2022-08-18 15:06:11 +01:00
Roger A. Light
1af3152ddc
Fix persisted clients being restored without a session expiry time.
2022-08-18 14:13:35 +01:00