Skip to content

MessageStreamWriter add_template(), set_domain(), and empty flush() bugs #51

Open

Description

@britram

Pre-existing 0.9 bugs in ipfix/writer.py (distinct from #39 and #43, fixed in #34):

  • MessageStreamWriter.add_template() did not flush and retry when the template did not fit in the remaining message space (EndOfMessage).
  • MessageStreamWriter.set_domain() did not increment self.msgcount when flushing the previous domain's message.
  • MessageStreamWriter.flush() crashed with TypeError when called on an empty buffer where self.msg.cursetid is None.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions