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
31 Jul, 2022
7 commits
  • Evaluate ACL of delayed publishes too ...
    55108074
    This requires storing the clientid and username in the Publish object.
    Wiebe Cazemier authored
    2022-07-31 15:29:41 +0200  
    Browse Code »
  • 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 Code »
  • Version 0.11.3
    9a946d14
    Wiebe Cazemier authored
    2022-07-31 12:47:49 +0200  
    Browse Code »
  • Disable thread pinning ...
    e0d63344
    It's probably not good for anything.
    Wiebe Cazemier authored
    2022-07-31 12:34:41 +0200  
    Browse Code »
  • Fix not being able to re-enable logging on config reload
    b03e739f
    Wiebe Cazemier authored
    2022-07-31 12:34:41 +0200  
    Browse Code »
  • Set systemd LimitNOFILE to infinite
    171f3d89
    Wiebe Cazemier authored
    2022-07-31 12:34:41 +0200  
    Browse Code »
  • Fix deb maintainer scripts re-enabling a disabled service on upgrade
    b2a0ffde
    Wiebe Cazemier authored
    2022-07-31 12:34:41 +0200  
    Browse Code »

28 Jul, 2022
3 commits
  • Fix comparison between signed and unsigned warning in test
    7ab8deef
    Wiebe Cazemier authored
    2022-07-28 21:36:43 +0200  
    Browse Code »
  • Fix packet order in subscribing to topic with retained messages ...
    4fcca574
    The order packets would (mostly) arrive, is 'retained publish', then
    'sub ack'. This is now fixed.
    
    This also stablizes test_retained_changed(). The test was also
    refactored to use the new test client.
    Wiebe Cazemier authored
    2022-07-28 21:36:43 +0200  
    Browse Code »
  • Add test for outgoing topic aliases
    4526f0bd
    Wiebe Cazemier authored
    2022-07-28 21:36:43 +0200  
    Browse Code »

24 Jul, 2022
3 commits
  • Add test for incoming topic aliases
    c6c22b16
    Wiebe Cazemier authored
    2022-07-24 21:38:31 +0200  
    Browse Code »
  • Run tests on different port ...
    58550eac
    This prevents confusion when another instance of FlashMQ is running.
    
    This is not the final way. For instance, when SSL connections will also
    be tested, this won't work anymore.
    Wiebe Cazemier authored
    2022-07-24 20:15:45 +0200  
    Browse Code »
  • Add fuzz-helper.sh
    f19d8d42
    Wiebe Cazemier authored
    2022-07-24 17:01:40 +0200  
    Browse Code »

23 Jul, 2022
2 commits
  • Fix fuzz mode ...
    9a9cd83b
    A recent refactor caused this fuzz mode to crash because the thread data
    wasn't set.
    Wiebe Cazemier authored
    2022-07-23 22:59:06 +0200  
    Browse Code »
  • Fix missing dependency in Dockerfile
    adc87601
    Patric Stout authored
    2022-07-23 14:21:12 +0200  
    Browse Code »

11 Jul, 2022
1 commit
  • Version 0.11.2
    84e52da2
    Wiebe Cazemier authored
    2022-07-11 20:16:25 +0200  
    Browse Code »

10 Jul, 2022
2 commits
  • Prevent insertion of null clients in client list ...
    8934a4bc
    There was a null dereference on a call of member function
    Client::sendOrQueueWill(). Null clients shouldn exist in the list and
    this was the only place it could have come from. But, I never got proof.
    Wiebe Cazemier authored
    2022-07-10 17:33:10 +0200  
    Browse Code »
  • Prevent accidental deletion of wrong client in removeQueuedClients ...
    e27053fa
    No issues were reported, but I noticed the theoretical issue.
    Wiebe Cazemier authored
    2022-07-10 16:03:27 +0200  
    Browse Code »

08 Jul, 2022
2 commits
  • Version 0.11.1
    291b1894
    Wiebe Cazemier authored
    2022-07-08 18:08:03 +0200  
    Browse Code »
  • Fix SSL crash on SSL_write retry ...
    cc5f85e1
    When SSL wants the app to retry, it stands to reason that the local
    write buffer needs to be grown (read: reallocated) to hold the
    application bytes. At that point, the buffer is no longer where it was
    originally.
    
    This fixes segfaults.
    Wiebe Cazemier authored
    2022-07-08 18:06:55 +0200  
    Browse Code »

03 Jul, 2022
12 commits
  • Version 0.11.0
    8609c607
    Wiebe Cazemier authored
    2022-07-03 18:25:08 +0200  
    Browse Code »
  • Allow for any websocket protocol containing mqtt ...
    c24becf2
    I've see various variations, like mqtt and mqttv31. The 3.1.1 specs are
    clear what it should be, but the 3.1 specs aren't. So, allowing
    anything with mqtt in it.
    Wiebe Cazemier authored
    2022-07-03 16:23:08 +0200  
    Browse Code »
  • Use writeString helper in mqttpacket
    1ca1bdf6
    Wiebe Cazemier authored
    2022-07-03 15:23:54 +0200  
    Browse Code »
  • Add tests for will
    27b65bef
    Wiebe Cazemier authored
    2022-07-03 14:38:34 +0200  
    Browse Code »
  • Add packet based test client ...
    56d9c510
    Now that parsing and handling of packets is separated, we can use the
    main code to parse packets in the new FlashMQTestClient. This allows
    great flexibility in inspecting the server response in a flexible
    manner.
    
    We now also have the ability to make tests for MQTT5 features.
    Wiebe Cazemier authored
    2022-07-03 14:38:34 +0200  
    Browse Code »
  • Separate QoS 2 parsing and handling
    483db298
    Wiebe Cazemier authored
    2022-07-03 14:38:18 +0200  
    Browse Code »
  • Add parsePubAckData() ...
    5fb96542
    Will be used for the test client I have in mind.
    Wiebe Cazemier authored
    2022-07-03 14:38:18 +0200  
    Browse Code »
  • Add parseSubAckData() ...
    546c8348
    Will be used for the test client I have in mind.
    Wiebe Cazemier authored
    2022-07-03 14:38:18 +0200  
    Browse Code »
  • Separate DISCONNECT packet parsing and handling ...
    4bf112b6
    This is necessary for the test client I have in mind, so I can re-use
    this code in that new test client which has no MQTT behavior, but just
    returns packets (meaning I have to be able to parse them without
    initiating handling).
    Wiebe Cazemier authored
    2022-07-03 14:38:18 +0200  
    Browse Code »
  • Separate CONNECT packet parsing and handling ...
    f262b796
    This is necessary for the test client I have in mind, so I can re-use
    this code in that new test client which has no MQTT behavior, but just
    returns packets (meaning I have to be able to parse them without
    initiating handling).
    Wiebe Cazemier authored
    2022-07-03 14:38:18 +0200  
    Browse Code »
  • Allow repeated calls to parsePublishData() ...
    7775fe41
    And also to future parse... methods.
    
    This is necessary for the upcoming new test client.
    Wiebe Cazemier authored
    2022-07-03 14:38:18 +0200  
    Browse Code »
  • Fix circular buffer off-by-one bug in test
    370e9115
    Wiebe Cazemier authored
    2022-07-03 14:37:08 +0200  
    Browse Code »

30 Jun, 2022
1 commit
  • Don't access current thread through client ...
    70e77e6a
    This needed a separation: getting the current thread, and getting the
    thread of the client you're queueing a command for.
    
    This also resolves a circular reference between Client and ThreadData.
    Wiebe Cazemier authored
    2022-06-30 19:17:01 +0200  
    Browse Code »

29 Jun, 2022
1 commit
  • Retrieve store from app instance ...
    6cdda452
    Instead of the thread data, which didn't make sense.
    Wiebe Cazemier authored
    2022-06-29 20:29:14 +0200  
    Browse Code »

27 Jun, 2022
1 commit
  • Make atEnd() more robust
    b62854b1
    Wiebe Cazemier authored
    2022-06-27 12:54:30 +0200  
    Browse Code »

21 Jun, 2022
1 commit
  • Add stats about connection count in $SYS ...
    e2ea3ea8
    This required adding a global stats object.
    
    It also contains a bit of refactor to make a type out of the derived
    counters.
    Wiebe Cazemier authored
    2022-06-21 07:44:24 +0200  
    Browse Code »

17 Jun, 2022
1 commit
  • Move message counting to the end of the call stack ...
    bf2193f9
    This makes much more sense than returning the amount of messages sent
    all the way up the call stack.
    Wiebe Cazemier authored
    2022-06-17 06:43:39 +0200  
    Browse Code »

22 May, 2022
2 commits
  • Make recursive publish methods static ...
    44de6670
    They don't need object state.
    Wiebe Cazemier authored
    2022-05-22 14:35:39 +0200  
    Browse Code »
  • Fix bug in persistence tests ...
    756289d4
    It tested the wrong thing. Tests still pass.
    Wiebe Cazemier authored
    2022-05-22 12:02:17 +0200  
    Browse Code »

18 May, 2022
1 commit
  • Use snapshot of maxIncomingTopicAliasValue from settings in client ...
    0e79ef5d
    This fixes clients being disconnected after reducing the max value and
    reloading the settings.
    Wiebe Cazemier authored
    2022-05-18 21:43:59 +0200  
    Browse Code »