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
  • publishcopyfactory.cpp
01 Aug, 2022
2 commits
  • Fix unnecessary QoS packet creation ...
    a3d29f51
    The extraneous creation would happen when multiple subscribes at
    different QoS levels happen.
    Wiebe Cazemier authored
    2022-08-01 20:07:49 +0200  
    Browse File »
  • Fix QoS reduction of queued messages ...
    4a16d48b
    Also add a test to test all scenarios.
    
    This also fixes session clean_start, which was never done since the
    MQTT5 refactor to clean_start (vs clean session).
    Wiebe Cazemier authored
    2022-08-01 20:07:49 +0200  
    Browse File »

31 Jul, 2022
3 commits
  • Fix QoS reduction on retained messages ...
    958aeb62
    It was caught by an assert. In release mode, this simply meant
    subscribing to 0 still gave you QoS messages.
    Wiebe Cazemier authored
    2022-07-31 17:19:15 +0200  
    Browse File »
  • Fix incorrect assert about QoS on wrong object ...
    e3a794e4
    Fixes assertion error in debug only.
    Wiebe Cazemier authored
    2022-07-31 16:34:04 +0200  
    Browse File »
  • Change topic splitting to lazy evaluation ...
    e61b7fbf
    Only split when they're needed, instead of pre-determining whether I'll
    need the subtopics.
    
    This makes the coming refactor of authentication easier.
    
    Also treated user properties with the same brush a bit. Downside: it now
    always assigns user properties to newly constructed publish objects,
    even if they are not needed (because the generated packet may only be
    needed for writing to the client's output buffer). But determining the
    flow of when and when not they'll be needed is impossible with the
    coming authentication refactor.
    Wiebe Cazemier authored
    2022-07-31 15:29:41 +0200  
    Browse File »

01 May, 2022
9 commits
  • Allow wills to be retained
    6158d91b
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • Have the MqttPacket constructor set client specific properties ...
    e69a2c35
    This prevents bugs because the calling context forgets it. A (small)
    downside is that I have to make the Publish argument non-const. But,
    that's exactly what it is then, so...
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • Initiate topic alias to subscribers ...
    3022c275
    I think it's correct, but mosquitto_sub doesn't seem to support it, so I
    can't test.
    
    Also some other stuff I happen to see.
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • Mostly done with user properties in connect, publish and subscribe. ...
    8ce485ee
    And one line about correlation data that was a bug.
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • more progress
    c32f063d
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • Avoid copying subtopics in publish
    e1043748
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • still need to avoid unneccessary copy of subtopics
    15eb0798
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • Almost works ...
    7b907c84
    I need to decide what to do with getPublishData
    
    and that disabled test needs repurposing.
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »
  • it compiles
    52efbdc7
    Wiebe Cazemier authored
    2022-05-01 17:32:10 +0200  
    Browse File »

01 Mar, 2022
1 commit
  • Change writing packets to clients to writing PublishCopyFactory ...
    ecb60b48
    This is a preparation for MQTT5, because when there are receivers and
    publishers with different protocols, you can't always just write out the
    same packet. You can sometimes though, so that's what the copy factory
    determines.
    Wiebe Cazemier authored
    2022-03-01 10:13:15 +0100  
    Browse File »