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
18 Sep, 2022
2 commits
  • Test (plugin) auth system + fixes ...
    5f683b9c
    When the plugin was enabled, it would never got past the fail of not
    having a password file entry. This is fixed.
    
    The reauth didn't work because setting the return data took the path of
    first auth, hitting a protection exception. This is fixed.
    
    Writing extended auth tests involved some refactoring, to create a
    separate method to parse the auth packet data, because I needed it in
    the test too.
    Wiebe Cazemier authored
    2022-09-18 21:58:22 +0200  
    Browse Code »
  • Add infrastructure to build plugins to test
    5c47eca3
    Wiebe Cazemier authored
    2022-09-18 15:41:21 +0200  
    Browse Code »

31 Aug, 2022
1 commit
  • Improve error handling on persistence files ...
    a7a79b3c
    Also properly fsynced it, and the dir it's in.
    Wiebe Cazemier authored
    2022-08-31 18:47:37 +0200  
    Browse Code »

28 Aug, 2022
1 commit
  • Reducing locking and memory overhead for saving sessions
    bc502926
    Wiebe Cazemier authored
    2022-08-28 16:23:40 +0200  
    Browse Code »

07 Aug, 2022
11 commits
  • Version 0.11.5
    ef845a8c
    Wiebe Cazemier authored
    2022-08-07 15:01:28 +0200  
    Browse Code »
  • Remove QMQTT from the test project
    c3a251e1
    Wiebe Cazemier authored
    2022-08-07 15:00:19 +0200  
    Browse Code »
  • Convert testUnSubscribe to native test client ...
    0759ed08
    Also fix sending an UNSUBACK instead of SUBACK on unsubscribe.
    Wiebe Cazemier authored
    2022-08-07 14:55:08 +0200  
    Browse Code »
  • Convert test_retained_removed to native test client
    a7ba40e8
    Wiebe Cazemier authored
    2022-08-07 14:05:04 +0200  
    Browse Code »
  • Make test_retained test cross-protocol and fix retain flag bug ...
    0765167b
    Cross-protocol, received messages on existing subscriptions would get
    retain=1, which is wrong.
    Wiebe Cazemier authored
    2022-08-07 13:57:10 +0200  
    Browse Code »
  • Convert test_retained to native test client
    8cabbca0
    Wiebe Cazemier authored
    2022-08-07 13:55:45 +0200  
    Browse Code »
  • Convert testDowngradeQoSOnSubscribeHelper to native test client ...
    08a352db
    And make it test accross protocol versions.
    Wiebe Cazemier authored
    2022-08-07 13:26:49 +0200  
    Browse Code »
  • Merged test_very_big_packet and test_packet_bigger_than_one_doubling ...
    227a4b3a
    And also made it test accross protocol versions.
    Wiebe Cazemier authored
    2022-08-07 13:17:45 +0200  
    Browse Code »
  • Convert test_packet_bigger_than_one_doubling to native test client ...
    b4cbde56
    And make it test cross-protocol.
    Wiebe Cazemier authored
    2022-08-07 12:50:22 +0200  
    Browse Code »
  • Make testNotMessingUpQosLevels test accross protocol versions
    d6b93ef5
    Wiebe Cazemier authored
    2022-08-07 12:43:38 +0200  
    Browse Code »
  • Fix QoS reduction when one subscriber has lower QoS level ...
    d594f67b
    Was caught by refactor testNotMessingUpQosLevels away from QMQTT, which
    didn't trip on this bug.
    Wiebe Cazemier authored
    2022-08-07 12:34:06 +0200  
    Browse Code »

05 Aug, 2022
1 commit
  • Use writeString() in db files
    c986edcf
    Wiebe Cazemier authored
    2022-08-05 16:15:37 +0200  
    Browse Code »

02 Aug, 2022
1 commit
  • Add simple test for user properties
    684f5eb8
    Wiebe Cazemier authored
    2022-08-02 17:08:44 +0200  
    Browse Code »

01 Aug, 2022
3 commits
  • Version 0.11.4
    f5c83951
    Wiebe Cazemier authored
    2022-08-01 20:11:19 +0200  
    Browse Code »
  • 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 Code »
  • 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 Code »

31 Jul, 2022
14 commits
  • Give testMqtt5DelayedWill a bit more time ...
    abe7fa16
    It timed out sometimes. When it works, it doesn't even take longer,
    because it's just the timeout.
    Wiebe Cazemier authored
    2022-07-31 17:35:08 +0200  
    Browse Code »
  • 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 Code »
  • Fix Session::requiresQoSQueueing() ...
    5a4b57de
    This was old debug code.
    
    The effect is that QoS now doesn't do unnecessary queueing.
    Wiebe Cazemier authored
    2022-07-31 17:18:26 +0200  
    Browse Code »
  • 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 Code »
  • Stablized test_retained_tree ...
    0cc6610a
    It was flakey. I also ported it to the new test client.
    Wiebe Cazemier authored
    2022-07-31 16:13:34 +0200  
    Browse Code »
  • Bump persistence files to version 3 ...
    2677a728
    They now contain sender info of publishes.
    Wiebe Cazemier authored
    2022-07-31 15:29:41 +0200  
    Browse Code »
  • Tests for saving clientid and username for publishes
    cd447414
    Wiebe Cazemier authored
    2022-07-31 15:29:41 +0200  
    Browse Code »
  • 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 »