Commit Graph

3699 Commits (87316959ee7b5e1ffb81327783da57be1368b263)
 

Author SHA1 Message Date
Roger A. Light 343a984083 Big rejig of library tests
Includes full consistency between C/C++ library tests
3 years ago
Roger A. Light 4199e7b2d3 Move control functions to common, and use in the broker. 3 years ago
Rob Swindell fd77a7cb22 Merge branch 'develop' of github.com:rswindell/mosquitto into develop 3 years ago
Rob Swindell c060d2e0f4 Resolve win32 build Error C2440 with CALLBACK function decoration
'function': cannot convert from 'void (__cdecl *)(PVOID,BOOLEAN)' to 'WAITORTIMERCALLBACK'

Signed-off-by: Rob Swindell <rob@synchro.net>
3 years ago
Rob Swindell 5a03fd26fb Resolve win32 build Error C2440 with CALLBACK function decoration
'function': cannot convert from 'void (__cdecl *)(PVOID,BOOLEAN)' to 'WAITORTIMERCALLBACK'
3 years ago
Roger A. Light 611c43e537 Dynsec: Save file at end of command batch, not after each command 3 years ago
Roger A. Light 2e36d523c8 Rename mosquitto_base_msg -> mosquitto__base_msg 3 years ago
Roger Light 9ee1dc5294
Merge pull request #2712 from NorbertHeusser/cleanup-include-guards
Cleanup of include guard defines
3 years ago
Roger A. Light 2e4db3aa2a Improve test/client/02-subscribe-format-json-properties.py 3 years ago
Norbert Heusser ba5f8eb448 Cleanup of include guard defines
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light d7833c8dcb Test websockets with large payload >65535 bytes 3 years ago
Roger A. Light 985824da8d Test socks with ipv4 address 3 years ago
Roger A. Light f70806f6e7 Don't try to set TCP_NODELAY for unix sockets. 3 years ago
Roger A. Light 04ccf1cb6c Add test for subjectAltName usage. 3 years ago
Roger A. Light 9e9a4f836c Fix duplicate# 3 years ago
Roger A. Light c6be853a7e Sync example with plugin interface 3 years ago
Roger A. Light 8cbfb59f66 Add mosquitto_plugin_cleanup() to examples for 2.0 compatibility 3 years ago
Roger A. Light dae1073360 Add missing Makefile 3 years ago
Roger A. Light ef4ed0e97f Add missing "future" entry to persist evt structs 3 years ago
Roger A. Light be8cf754fb Move plugin to examples dir, plus some tweaks. 3 years ago
Frank Villaro-Dixon cbbc4a0ea3 Auth: add authentication via env variable
This commit provides a "cloud-native" way of authenticating clients
by comparing the provided password to the MOSQUITTO_PASSWORD environment
variable.

This allows to quickly and easily adding authentication by simply
providing the password to the environment variable of the docker
container / kubernetes pod.

Signed-off-by: Frank Villaro-Dixon <frank@vi-di.fr>
3 years ago
Roger Light ac5dfca52a
Merge pull request #2703 from NorbertHeusser/makefile-improvements
Makefile improvements
3 years ago
Roger A. Light 00faec3ccd Doc update 3 years ago
Roger A. Light abe3d7d180 Revert to max_keepalive=0. 3 years ago
Roger A. Light 62a43617f4 Don't expire retained messages 3 years ago
Roger A. Light 836ba3823b Fix initial sys tree publish, and ensure there is never a divide by 0. 3 years ago
Roger A. Light 0aeb00d4bd Remove unused var 3 years ago
Norbert Heusser 2ec6901e92 Fixed target clean in apps/db_dump Makefile
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser 170cd85cec Add target test-compile to all Makefile to allow tests in plugin folders
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser 120bfb33b9 Enable test-ws.sh in test/client
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser 8a07110cef Moved python tests inside test/apps to subfolder per app
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser e4c252b781 Don't install example plugin client-lifetime-stats
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser c834868cfa Add missing cleanup of test/appss folder to test/Makefile
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser a65176667c Fixed cleanup in lib/Makefile
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light b157448b30 Fix possible memory leaks when repeating options. 3 years ago
Roger A. Light fa21712278 Fix accidentally deleted lines. 3 years ago
Roger A. Light d15c6bd7ef Fix unitialised value and incorrect loop. 3 years ago
Roger A. Light fc84340820 Add mosquitto_unsubscribe2_v5_callback_set 3 years ago
Roger A. Light 7419aa7530 Add more lib msg sequence tests 3 years ago
Roger A. Light 57665e722d Remove obsolete openssl cleanup code 3 years ago
Roger A. Light 001b8d7da8 Remove duplicate code 3 years ago
Roger A. Light 94b366b5e7 Start of message sequence "fuzzish" tests for library 3 years ago
Roger A. Light 3a9441122c Code for replaying failed sequence tests to make debugging easier 3 years ago
Roger A. Light 1f0d7a8064 Per group global test settings 3 years ago
Roger A. Light d53653b017 Port from `fixes` 3 years ago
Roger A. Light 5c0cfade12 Add http origin checking to built in websockets. 3 years ago
Roger A. Light 1e0a07ba5a Add missing int to string conversions. 3 years ago
Roger A. Light ba665a3477 Unsubscribe-v5 test should use properties 3 years ago
Roger A. Light 99c49d3d39 Remove duplicate tests. 3 years ago
Roger A. Light b6de597127 subscribe_simple helper test 3 years ago