Roger A. Light
a0f58f20c3
Update threaded builds.
...
Most specifically use -pthread instead of -lpthread.
4 years ago
Roger A. Light
5a3b42d4a4
Use path vars in Makefiles.
4 years ago
Roger A. Light
bc1adfd46d
CMake fixes.
...
Builtin websockets support.
Persist sqlite plugin build.
Broker cJSON support
Add wildcard-temp plugin.
4 years ago
Roger A. Light
223d9eae66
mosquitto_sub json output tests, and user-properties fix.
4 years ago
Roger A. Light
ab67dbcacd
More client tests, and an output format fix.
4 years ago
Roger A. Light
3139eb3252
More client tests.
4 years ago
Roger Light
cd07f1136b
Bump copyrights.
4 years ago
Roger Light
538154bd9c
The `--insecure` option now disables all server certificate verification.
4 years ago
Roger A. Light
8ac11929cc
Merge branch 'master' into develop
4 years ago
Roger A. Light
20d2935d81
Fix date format in mosquitto_sub output.
...
Closes #2353 . Thanks to Norman Rasmussen.
4 years ago
Roger Light
65603da5e4
Add `-W` timeout support to Windows.
4 years ago
Roger A. Light
b9b065d2cc
Compiler pedantry, and more checks in tests.
4 years ago
Roger A. Light
799cdead15
Experimental custom websockets support.
4 years ago
Roger A. Light
a1a190b482
Pointless whitespace tidy.
4 years ago
Roger Light
88dfac8e88
Windows threading support for the library.
4 years ago
Roger Light
dbd0d6f0d8
CMake build fixes.
4 years ago
Roger A. Light
49065f03a8
Merge remote-tracking branch 'origin/fixes' into develop
4 years ago
Roger A. Light
ec895f2ad3
mosquitto_sub now only needs `-t` or `-U` to run
...
This means that `-t` is not required in all situations.
4 years ago
Roger A. Light
de0e275ccb
mosquitto_sub `--watch` can now be called as `-w`.
4 years ago
Roger A. Light
e4160b083a
Add --watch to mosquitto_sub.
4 years ago
Roger A. Light
6028d0e33e
mosquitto_sub and mosquitto_rr now open stdout in binary mode on Windows
...
This is so binary payloads are not modified when printing.
Thanks to Steve Mullock.
4 years ago
Roger A. Light
214feb8f6b
Merge branch 'fixes' into develop
4 years ago
Roger Light
be96d21e7b
Fix potential double free.
4 years ago
Roger Light
0a90e62f93
CMake tidy.
4 years ago
Roger Light
07399c2f3c
Fix `mosquitto_pub -l` quitting if broker unavailable.
...
This could occur when a message publication is attempted when the broker
is temporarily unavailable.
Closes #2187 . Thanks to JsBergbau.
4 years ago
Roger A. Light
c8cd3590f1
Check for NULL.
4 years ago
Roger Light
e1c8f09372
Remove C++ style comments.
4 years ago
Roger Light
5434931dbc
Merge branch 'fixes' of git://github.com/bk138/mosquitto into bk138-fixes
4 years ago
Roger Light
ef7662ca8e
Merge branch 'master' into develop
4 years ago
Roger A. Light
613489f735
Fix typo.
5 years ago
Christian Beier
fe10226cc9
Fix building with Visual Studio 2008
...
This older Microsoft compiler does not support mixing declarations and
code and misses some error defines. This commit enables building with
VS2008 by moving up some variable declarations and defining error
codes to their WinSock counterparts in case they're not defined.
Signed-off-by: Christian Beier <info@christianbeier.net>
5 years ago
Roger A. Light
8dbfdc0495
Add `--no-tls` option for all clients.
...
This disables all TLS options for that instance. This is useful for
negating TLS options provided in a config file, or to disable the
automatic use of TLS when using port 8883.
Closes #2180 . Thanks to Elliott Balsley.
5 years ago
Roger Light
efad820706
Add `-o` option for all clients loading options from a specific file.
5 years ago
Roger A. Light
ec54bce037
Fix mosquitto_sub pipe close detection.
...
If sending mosquitto_sub output to a pipe, mosquitto_sub will now detect
that the pipe has closed and disconnect.
Closes #2164 . Thanks to Frantisek Fuka.
5 years ago
Roger A. Light
7d214a445d
Fix TLS-PSK mode not working with port 8883.
...
Closes #2152 . Thanks to jetpax.
5 years ago
Roger Light
a5d9986cbd
More compiler warning fixes.
5 years ago
Roger Light
2de8c15bc9
Minor build fixes.
5 years ago
Roger Light
9faf89be8d
Set `receive-maximum` to not exceed the `-C` message count.
...
This is for mosquitto_sub and mosquitto_rr, to avoid potentially lost
messages.
Closes #2134 . Thanks to Frantisek Fuka.
5 years ago
Roger A. Light
24920c9a08
Fix possible loss of data in `mosquitto_pub -l` when sending multiple long lines.
...
Closes #2078 . Thanks to Ysincit.
5 years ago
Roger A. Light
6c2dca51c3
Clients: Fix config files truncating options after the first space.
...
Closes #2059 . Thanks to Jason White.
5 years ago
Roger A. Light
706a1f3f29
Fix more minor compiler warnings.
5 years ago
Roger A. Light
a4389fc9ce
Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
...
The two licenses are the same.
5 years ago
Roger A. Light
370cec5edd
Fixes for lots of minor build warnings highlighted by Visual Studio.
5 years ago
Roger A. Light
de141540fb
Fix mosquitto_sub being unable to terminate with Ctrl-C.
...
This occured if a successful connection was not made.
Closes #1957 . Thanks to Peoh.
5 years ago
Roger A. Light
791c63372b
Fix cjson include paths.
5 years ago
Roger A. Light
6ad5f19aef
CMake build fixes for Windows.
5 years ago
Roger A. Light
6fe3279436
Build fixes from Windows changes.
5 years ago
Roger A. Light
26ffe1300a
Various Windows build fixes.
5 years ago
Roger A. Light
550c54701e
Fix cmake build when cjson not available.
5 years ago
Roger A. Light
27967f8885
Prevent possible unitialised use.
5 years ago