1. 07 Oct, 2018 1 commit
    • Gregory Lemercier's avatar
      Fix build on arm64 architectures with some strict compilers · ffe62d33
      Gregory Lemercier authored
      This patch fixes an issue that occurs on 64-bit architetures under
      strict compiler rules. The code initially checked that the received
      size stored in 'uint64_t' was not bigger than the max value of a
      'size_t' variable, which is legitimate on 32-bit architectures where
      'size_t' variables are stored on 32 bits. On 64-bit architectures,
      this test no longer makes sense since 'uint64_t' and 'size_t' types
      have the same size. The issue is fixed by ignoring this portion
      of code when built for arm64.
      ffe62d33
  2. 28 May, 2018 1 commit
  3. 27 May, 2018 1 commit
  4. 24 May, 2018 1 commit
  5. 18 May, 2018 1 commit
  6. 02 Feb, 2018 1 commit
  7. 14 May, 2016 1 commit
  8. 18 Feb, 2016 1 commit
  9. 28 Jan, 2016 1 commit
  10. 28 Jul, 2015 1 commit
    • Brian Silverman's avatar
      Fix a documented memory leak. · 97969808
      Brian Silverman authored
      Despite the old comments, re-initing the msg_t leaks a refcount to
      metadata in some situations.
      
      v1_decoder looks like it isn't tested any more, but it seems like a good
      idea to fix it because it has the exact same piece of buggy code
      v2_decoder does.
      97969808
  11. 03 Jun, 2015 1 commit
    • Jens Auer's avatar
      zero-copy message receive · e9b403a7
      Jens Auer authored
      Construct messages from a reference-counted buffer allocated once
      per receive instead of copying the data.
      e9b403a7
  12. 02 Jun, 2015 1 commit
  13. 22 Jan, 2015 1 commit
  14. 02 Jan, 2014 1 commit
  15. 11 Apr, 2013 1 commit
  16. 12 Mar, 2013 2 commits
    • Pieter Hintjens's avatar
      785ef41f
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  17. 13 Nov, 2012 1 commit
  18. 05 Sep, 2012 1 commit
    • Martin Hurton's avatar
      Implement new message encoder/decoder · 3f6148ab
      Martin Hurton authored
      This is supposed to become part of the ZMTP/1.1.
      
      The main differences from the ZMTP/1.0 framing protocol are:
      - flags field comes first, followed by the length field
      - long messages are signaled using a flag rather then 0xff escape
      - length field does not include the flags field, 0 is a valid value
      3f6148ab