-
We interpret the close frames as closed transport, and therefore set 'error' to 'disconnected'. See code comments.
-
Files are simple serialized bytes prefaced by lengths. File is hashed to verify integrity. This was also a good way preventing unexpected errors when trying to crash the parser by having it load a different file. This change includes some refactoring that was necessary: - It 'fixes' looking at the wrong thread's authentiction. This is still wrong though. It will be fixed by a thread local pointer in the next commit. - Deadlocks with yourself are handled in rwlockguard. - QoSPacketQueue is now a class. - Probably other tweaks.
-
This fixes side effects when system time changes.
-
https://github.com/halfgaar/FlashMQ/issues/2
-
Encrypted version only.
-
Profiling showed it was significant enough to do so.
-
This also adds configuration options for choosing what address to bind to.
-
This allows creation of multiple listeners, with different protocols and/or SSL certificates. Related change: settings is now a class that is copyable and assignable, and is done so to each thread on reload. Semi-related fix: fix crash in quit when multiple threads initiated it. This came to light when testing the auth plugin settings.
-
The ping/pong is actually untested at this point, because Paho (my test client for now) doesn't do those. I wonder if any do, because MQTT already has ping/pong.
-
And some side issues.
-
And include some extra error conditions.
-
This includes a timer mechanism.
-
It can be defined in the config file, along with options.
-
It's a little faster.