Logo white

Peter M. Groen / FlashMQ

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 453
  • Compare
  • Branches 1
  • Tags 0
  • FlashMQ
  • mainapp.cpp
27 Mar, 2021
1 commit
  • Remove typedefs for shared_ptr things ...
    ac3a130a
    My IDE didn't understand them for finding symbols, apparently.
    Wiebe Cazemier authored
    2021-03-27 10:51:04 +0100  
    Browse File »

23 Mar, 2021
1 commit
  • Version v0.5.2
    d76529ab
    Wiebe Cazemier authored
    2021-03-23 22:15:42 +0100  
    Browse File »

21 Mar, 2021
1 commit
  • Version 0.5.1
    56cf59e3
    Wiebe Cazemier authored
    2021-03-21 10:14:54 +0100  
    Browse File »

20 Mar, 2021
37 commits
  • Bump version for next development cycle
    460ff3ed
    Wiebe Cazemier authored
    2021-03-20 19:10:36 +0100  
    Browse File »
  • Version v0.5.0
    ffe004ac
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Add license
    60b9cd16
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Auto-detect fuzzing mode, and don't make threads ...
    1f84a1ef
    Having threads creates instability for the fuzzer, and we don't need
    them.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Implement the log levels
    6990c689
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Only allow one instance (per user) to run
    38563f95
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Make setting rlimits a little better
    d68708d3
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Add IPv6 support, with related listener options ...
    d06dcb0b
    This also adds configuration options for choosing what address to bind
    to.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Crude websocket fuzz mode ...
    80d5cf8b
    Probably I also need a flag to fake already being upgraded, because
    otherwise we never get passed the complicated websocket handshake.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Add fuzz mode by feeding a client from a file ...
    d6af7d82
    This can be called by a fuzzer like afl-fuzz.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Fix not creating a listener when no config is defined
    0586e380
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Quit threads by using task queue ...
    7be0fcf4
    This fixes the 100ms wait time requirement.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Support generic listener in config file ...
    5d72070e
    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.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Add IoWrapper, with websocket support added ...
    b5ba41f5
    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.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Buffer size and max packet size as setting
    1106e210
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Like main thread, also have a task queue in threads ...
    f3a45a2a
    It's also used to reload settings. Settings are copied to threads, to
    avoid concurrency issues.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Add setting 'allow_unsafe_clientid_chars' ...
    65146ae2
    And some side issues.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Auto-detect number of threads
    d0473da1
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Fix not logging to stdout
    64ec702a
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Added some error checking on write calls
    88a78820
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Working on expiring sessions ...
    33ef5bdf
    This includes a timer mechanism.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Add SSL support ...
    9e33ebda
    It also contains some related improvements that I needed:
    
    * Show disconnect reason
    * Fix the while condition for doing write() to avoid an unnecessary call
    * Config reloading logic
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Fix race condition in thread creation
    8ddb61d6
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Settings and logger stuff ...
    d55f39d1
    Also reloading of settings, which re-opens the log file.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Working auth with plugin
    462fb2ed
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Auth plugin init works ...
    543d4451
    It can be defined in the config file, along with options.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Simple keep-alive mechanism
    f8e062bf
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Remove old eventfd on thread concept ...
    fce0beff
    We use epoll now to change readiness.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Retained messages tests, plus fix
    0262ae00
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Handle epoll errors
    f8944b06
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Change from checking fd==-1 to properly through the destructor
    7e87fd91
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Fix some memory keeping bug and connection handling ...
    84e76c32
    Because the connectionClose would set fd=-1, clients were never properly
    removed from the map, because the fd is the key.
    
    Also fixed a locking issue when an exception happened.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Some more compliant connect error handling
    52cdff03
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Error handling and a bit of cleanup
    21bf9bf5
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Custom thread names
    3f881663
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • random stuff
    daa339b0
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • IO stuff
    73ef26ae
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »