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
  • subscriptionstore.cpp
27 Mar, 2021
2 commits
  • 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 »
  • Prevent unnecessary copy
    ff1c33bc
    Wiebe Cazemier authored
    2021-03-27 10:31:55 +0100  
    Browse File »

20 Mar, 2021
27 commits
  • Add license
    60b9cd16
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Fix several packing handling issues found by fuzzing ...
    dd44efb0
    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.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Implement unsubscribe handling
    cb40c2d2
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Add will support ...
    99a087f4
    Also changed the disconnect reason a little: it now shows them all, so I
    don't have to worry about which one is more important.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Do 'session present' for MQTT 3.1.1
    60065fcb
    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 »
  • QoS on retained messages
    8094510f
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Store QoS in subscription and use it ...
    6141bbcc
    Connected to this is preventing duplicate subscriptions. It's a bit
    unclear what to do when you get a subscription for the same topic with a
    different QoS? Change the Qos? Ignore?
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • QoS 1, 80% ...
    760ec588
    Also includes fixes to packet parsing that I couldn't make a separate
    commit for.
    
    When it comes to QoS 1, these things are still left, off the top of my
    head:
    
    - vector for qos queue? It helps with ordering and is CPU cache friendly.
    - Store subscription QoS.
    - Do retained messages have QoS?
    - Give session client's name, to access it later.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Sessions and 'clean session' works
    862f0933
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Store clients as sessions ...
    3cb1fae8
    In preparation for clean session and qos.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Disconnect client with existing ID
    43df4fc2
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Optimize by having seperate leafs for + and # ...
    4ee42838
    This saves mildly costly calls to find().
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Use vector for splitting topic path ...
    0ac76185
    It's a little faster.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Small optimization in publishing
    b4a28abf
    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 »
  • Retained messages tests, plus fix
    0262ae00
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Fiddle with recursion order for compiler TCO
    7db8bdff
    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 »
  • I think this covers retained messages
    33d19cec
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Start of retained messages ...
    70896f68
    Also materializes some concepts about MqttPacket.
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Pound sign wild card
    537539a4
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Recursive publish
    163d14e8
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Continued with my tree-based subscriptions
    fa805a94
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • An attempt at subscriptions that I'll probably abandon
    4881eaf9
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse File »
  • Rudimentary lock based cross-thread publish
    54f45b27
    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 »

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 »