-
Profiling showed it was significant enough to do so.
-
My IDE didn't understand them for finding symbols, apparently.
-
For better IDE functionality, mostly.
-
It needs to be fixed anyway, but I'm not 100% sure whether this was the cause of the crash on the demo server.
-
Having threads creates instability for the fuzzer, and we don't need them.
-
Fix websocket crash case Fix infinite loop on lying about websocket frame sizes This fixes infinite loops when you send a frame type that is not handled.
-
This also adds configuration options for choosing what address to bind to.
-
Found by fuzzing.
-
Probably I also need a flag to fake already being upgraded, because otherwise we never get passed the complicated websocket handshake.
-
And check Qos.
-
This can be called by a fuzzer like afl-fuzz.
-
When sending many 0xFF, it would overflow. Found by using afl-fuzz.
-
This fixes the 100ms wait time requirement.
-
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.
-
And fixed an assert in CirBuf.read().