• This requires storing the clientid and username in the Publish object.
    Wiebe Cazemier authored
     
    Browse File »
  • 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
     
    Browse File »




  • The code allowed one to try to upgrade a read lock to a write lock,
    which would/could fail.
    
    In the existing code, the only attempted double lock was a write lock,
    so this change doesn't actually fix anything, but it's clearer, and we
    can make do with the lock that was removed. It just takes a bit more
    overhead on app start-up, to place a lock per message.
    Wiebe Cazemier authored
     
    Browse File »