• Luca Boccassi's avatar
    Problem: heartbeat command parsing does not check command name size · 5482b1ca
    Luca Boccassi authored
    Solution: treat the first byte of the command body as the size of the
    command name, rather than as an id, to comply with ZMTP 3.1.
    This was not an actual problem at runtime since both heartbeat
    commands have a size of 4, which was treated like an id.
    But once SUBSCRIBE/UNSUBSCRIBE get implemented it needs to be checked.
    5482b1ca
stream_engine.hpp 6.39 KB