1. 14 Jul, 2013 5 commits
  2. 13 Jul, 2013 4 commits
  3. 08 Jul, 2013 1 commit
  4. 07 Jul, 2013 1 commit
    • Pieter Hintjens's avatar
      Got new test cases working with libzmq · 9ca6898f
      Pieter Hintjens authored
      * disabled the specific tests that do not work (yet) on libzmq
      * cleaned up one source (test_spec_rep.c) but the others need similar work
      * added sleep in test_spec_rep to allow connects time to happen; this would
        not be needed if we connected out to the REP peers instead in from them,
        but I didn't want to change the logic of the test code.
      9ca6898f
  5. 05 Jul, 2013 4 commits
  6. 03 Jul, 2013 2 commits
  7. 02 Jul, 2013 1 commit
    • Christian Kamm's avatar
      Add tests for Request-Reply pattern sockets. · 798b3940
      Christian Kamm authored
      * See http://rfc.zeromq.org/spec:28/REQREP
      * Not all testable statements are covered.
      * At this point, there are several failures:
        - test_spec_req: The REQ socket does not correctly discard messages
          from peers that are not currently being talked to.
        - test_spec_dealer/router: On disconnect, the queues seem to not be
          emptied. The DEALER can still receive a message the disconnected
          peer sent, the ROUTER can still send to the identity of the dis-
          connected peer.
      798b3940
  8. 01 Jul, 2013 11 commits
  9. 30 Jun, 2013 2 commits
  10. 29 Jun, 2013 6 commits
  11. 28 Jun, 2013 3 commits
    • Pieter Hintjens's avatar
      Added Z85 support · 70417701
      Pieter Hintjens authored
      The use of binary for CURVE keys is painful; you cannot easily copy
      these in e.g. email, or use them directly in source code. There are
      various encoding possibilities. Base16 and Base64 are not optimal.
      Ascii85 is not safe for source (it generates quotes and escapes).
      
      So, I've designed a new Base85 encoding, Z85, which is safe to use
      in code and elsewhere, and I've modified libzmq to use this where
      it also uses binary keys (in get/setsockopt).
      
      Very simply, if you use a 32-byte value, it's Base256 (binary),
      and if you use a 40-byte value, it's Base85 (Z85).
      
      I've put the Z85 codec into z85_codec.hpp, it's not elegant C++
      but it is minimal and it works. Feel free to rewrap as a real class
      if this annoys you.
      70417701
    • Martin Hurton's avatar
      Merge pull request #596 from hintjens/master · 1beec5e9
      Martin Hurton authored
      Problem: mechanisms are lagging behind specs
      1beec5e9
    • Pieter Hintjens's avatar