- 29 Jun, 2013 6 commits
-
-
Ian Barber authored
Problem: working with binary keys is painful
-
Ian Barber authored
Minor code refactoring
-
Martin Hurton authored
-
Martin Hurton authored
-
Pieter Hintjens authored
Use generic session class whenever possible
-
Martin Hurton authored
-
- 28 Jun, 2013 11 commits
-
-
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.
-
Martin Hurton authored
Problem: mechanisms are lagging behind specs
-
Pieter Hintjens authored
-
Martin Hurton authored
-
Pieter Hintjens authored
RFC23, RFC24, RFC26 now use variable-length command names that end in null octet (valid C strings) instead of fixed-length space padded strings.
-
Pieter Hintjens authored
Another ZMQ_STREAM simplification
-
Martin Hurton authored
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
Pieter Hintjens authored
Simplify ZMQ_STREAM socket implementation
-
Martin Hurton authored
-
- 27 Jun, 2013 2 commits
-
-
Martin Hurton authored
Problem: ROUTER+RAW was not a clean API
-
Pieter Hintjens authored
- designed for TCP clients and servers - added HTTP client / server example in tests/test_stream.cpp - same as ZMQ_ROUTER + ZMQ_ROUTER_RAW + ZMQ_ROUTER_MANDATORY - includes b893ce set ZMQ_IDENTITY on outgoing connect - deprecates ZMQ_ROUTER_RAW
-
- 24 Jun, 2013 1 commit
-
-
Pieter Hintjens authored
Store identity for raw socket
-
- 23 Jun, 2013 3 commits
-
-
Gavin authored
Identity stored during connect procedure. Can be read using zmq_getsockopt and used as the identity frame when sending messages. This allows the implementation of a raw socket client.
-
Ian Barber authored
Rename parse_properties to parse_metadata
-
Martin Hurton authored
-
- 22 Jun, 2013 17 commits
-
-
Ian Barber authored
Refactor how properties are parsed
-
Martin Hurton authored
-
Martin Hurton authored
Add test for CURVE mechanism
-
git://github.com/zeromq/libzmqIan Barber authored
-
Ian Barber authored
Test is skipped if no libsodium. Added warning if libsodium not configured
-
Pieter Hintjens authored
Small code cleanup
-
Martin Hurton authored
-
Ian Barber authored
Make ZAP optional for CURVE mechanism
-
Martin Hurton authored
-
Pieter Hintjens authored
Make ZAP optional for CURVE mechanism
-
Martin Hurton authored
-
Ian Barber authored
Problem: allows CURVE security even if libzmq was built without libsodium
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
Pieter Hintjens authored
Fix test_disconnect_inproc to work on ILP64 systems
-