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
  • threaddata.cpp
11 Apr, 2021
1 commit
  • Add support for Mosquitto's password file ...
    b2c5fe90
    Encrypted version only.
    Wiebe Cazemier authored
    2021-04-11 13:48:22 +0200  
    Browse File »

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
  • Fix likely cause of segfault in keepalive handling ...
    2d7107c9
    It needs to be fixed anyway, but I'm not 100% sure whether this was the
    cause of the crash on the demo server.
    Wiebe Cazemier authored
    2021-03-23 22:14:11 +0100  
    Browse File »

20 Mar, 2021
20 commits
  • Add license
    60b9cd16
    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 »
  • Use timer for resetting buffers
    e5746d7f
    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 »
  • Auto-detect number of threads
    d0473da1
    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 »
  • Fixed crash in keep-alive checking
    4bbc76ec
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Weak pointers to clients in subscription store
    cffcf3cf
    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 »
  • 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 »
  • Custom thread names
    3f881663
    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 »
  • Add some signal handling ...
    be212624
    I put the main app in a seperate class for it, because it was easier.
    Wiebe Cazemier authored
    2021-03-20 19:02:12 +0100  
    Browse File »

10 Dec, 2020
3 commits
  • quick hack to get all threads to work
    a6333881
    Wiebe Cazemier authored
    2020-12-10 22:18:21 +0100  
    Browse File »
  • Publishing within the same thread works ...
    40f8e5e5
    Roughly...
    Wiebe Cazemier authored
    2020-12-10 21:57:42 +0100  
    Browse File »
  • Reorder stuff for storing subscription store
    2a3138f9
    Wiebe Cazemier authored
    2020-12-10 15:35:14 +0100  
    Browse File »

05 Dec, 2020
1 commit
  • Construct clients
    f3110e90
    Wiebe Cazemier authored
    2020-12-05 11:31:27 +0100  
    Browse File »

03 Dec, 2020
1 commit
  • bare start
    19f21bf2
    Wiebe Cazemier authored
    2020-12-03 22:15:43 +0100  
    Browse File »