Roger A. Light
25bc6f3cf4
Require topics>0 in mosquitto_[un]subscribe*().
3 years ago
Kai Buschulte
36935a3384
Use OpenSSL:SSL cmake target
...
Instead of using the CMAKE_OPENSSL_INCLUDE and CMAKE_OPENSSL_LIBRARY
variables the imported target OpenSSL::SSL is used.
This is a more modern way of target linking.
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
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 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
4099f8d1b6
Store out_packet bytes rather than having to calculate it.
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
Roger A. Light
4f294a715b
Fix WS reads when fragmented packets are sent.
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
c53a53bce0
Re-enable LTO for gcc builds.
4 years ago
Roger A. Light
9f9813aff4
Fix Coverity Scan 1486949 Resource leak
4 years ago
Roger A. Light
15cd25c3e9
Fix Coverity Scan 1486949 Resource leak
4 years ago
Roger A. Light
a4635682d1
Fix Coverity Scan 1486945 String not null terminated
4 years ago
Roger A. Light
cac537830e
Fix Coverity Scan 1486949 Resource leak
4 years ago
Roger A. Light
0549a6a9aa
Fix Coverity Scan 1486957 Resource leak
4 years ago
Roger A. Light
1d805316ba
Fix Coverity Scan 1486949 Resource leak
4 years ago
Roger A. Light
fa0b532e69
Fix Coverity Scan 1486948 Structurally dead code
4 years ago
Roger A. Light
a94eb99c97
Fix Coverity Scan 1486945 String not null terminated
4 years ago
Roger A. Light
1771dd9941
Fix Coverity Scan 1436854 Resource leak
4 years ago
Roger A. Light
c985736866
Restrict persistence events to persisted clients only.
4 years ago
Roger A. Light
2afe19466a
Remove unused macro.
4 years ago
Roger A. Light
a0f58f20c3
Update threaded builds.
...
Most specifically use -pthread instead of -lpthread.
4 years ago
Roger A. Light
ffb7661d86
Move shared code to common directory
...
This is currently limited to "utility" type functions and does not include code common to the library and broker that are protocol related.
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
6b32cf61b2
CMake build fixes, including sqlite support.
4 years ago
Roger A. Light
306215db39
Split library actions.c for easier discoverability.
4 years ago
Roger A. Light
b5c77f264f
Build fixes
4 years ago
Roger A. Light
4e731d2ac7
Fix lws based websockets connections.
4 years ago
Roger A. Light
75fa83976c
Fix `seconds` part of mosquitto_time_ns() on Windows.
4 years ago
Roger A. Light
73f03983fb
Socks proxy test plus fixes.
4 years ago
Roger A. Light
fa9c2d0285
Fix incorrect header position.
4 years ago
Roger A. Light
aa96c2d922
Check accept key with websockets clients.
4 years ago
Roger A. Light
f5625f499f
Client HTTP request size configurable.
4 years ago
Roger A. Light
0a0f4ead42
Plugin interface interface and test improvements.
4 years ago
Roger A. Light
d546ba461a
Test fixes.
4 years ago
Roger A. Light
500542351d
Set pointers to NULL after freeing.
4 years ago
Roger A. Light
0f8733627a
Plugin persistence interface.
4 years ago
Roger A. Light
2501a64035
Merge branch 'master' into develop
4 years ago
Roger A. Light
eafa848180
Add client message stats to xtreport.
4 years ago
Roger A. Light
affe6ece83
Add client msg int to allow easier ordering for plugins.
4 years ago
Roger A. Light
3b8a2e827e
Fix compile flags.
4 years ago
Roger A. Light
94fcd470d0
Fix incorrect subscribe_callback in mosquittopp.h.
...
Closes #2367 . Thanks to Jens Alfke.
4 years ago
Roger A. Light
11975332d4
Fix mosquitto_topic_matches_sub2() not using the length parameters.
...
Closes #2364 . Thanks to Jens Alfke.
4 years ago
Roger A. Light
f3590f3020
Don't pass NULL to printf %s.
...
This is undefined behaviour, and some platforms don't like it.
Issue #2355 . Thanks to CJ Lee.
4 years ago