- 21 Jan, 2014 2 commits
- 20 Jan, 2014 9 commits
-
-
Tim M authored
-
Tim M authored
-
Tim M authored
-
Tim M authored
-
Pieter Hintjens authored
Fix compilation of tests on MSVC 2008
-
Ivan Pechorin authored
-
Ivan Pechorin authored
-
Pieter Hintjens authored
ZMQ_CONNECT_RID tests and man
-
Tim M authored
Updated man entries, and added behavior in case the user duplicates peer ids. In this case the socket reverts to default behavior.
-
- 19 Jan, 2014 7 commits
-
-
Tim M authored
-
Tim M authored
-
Ian Barber authored
Cleaned up option to force identity on outgoing connection
-
Pieter Hintjens authored
- renamed to ZMQ_CONNECT_RID - fixed whitespace malformating around previous patch - renamamed next_peer_id to next_rid in preparation for larger rename of IDENTITY to ROUTING_ID Note: ZMQ_CONNECT_RID has no test case and no entry in the man page, as yet.
-
Pieter Hintjens authored
Fixed compile issue with missing member of socket_base. Changed ZMQ_NEX...
-
Pieter Hintjens authored
Fix cmake build and warnings
-
Tim M authored
Fixed compile issue with missing member of socket_base. Changed ZMQ_NEXT_IDENTITY to ZMQ_NEXT_CONNECT_PEER_ID. Fixed case where ZMQ_NEXT_CONNECT_PEER_ID is used in ROUTER, and ROUTER does not read the identity message from the connected pipe.
-
- 18 Jan, 2014 5 commits
-
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Pieter Hintjens authored
Updated STREAM and ROUTER sockets to allow for pre-naming of outbound connections
-
Pieter Hintjens authored
Store socket FD after connect
-
Pieter Hintjens authored
Add STREAM connect notification.
-
- 17 Jan, 2014 4 commits
-
-
Tim M authored
-
Tim M authored
Both STREAM and ROUTER sockets suffer from a naming problem on outbound connections. While these connections can be created, they can't be immediately used. Traffic must be received before it can be sent. This prevents practical, minimal usage of STREAM or ROUTER as a true N fan in/out socket. This change simply provides the user with a socket option that sets a user defined name of the next outbound connection: zmq_setsockopt(routerSock,ZMQ_NEXT_IDENTITY,"myname",6); if(0 > zmq_connect(routerSock,"tcp://127.0.0.1:1234")) return 1; ret = zmq_send(routerSock,"myname",6,ZMQ_SNDMORE); zmq_send(routerSock,b.mem,b.used,0); In this example, the socket is immediately given the name "myname", and is capable of immediately sending traffic. This approach is more effective in three ways: 1) It prevents all sorts of malicious peer naming attacks that can cause undefined behavior in existing ROUTER connections. (Two connections are made that both transmit the same name to the ROUTER, the ROUTER behavior is undefined) 2) It allows immediate control of connections made to external parties for STREAM sockets. Something that is not possible right now. Before an outbound connection had no name for STREAM or ROUTER sockets because outbound connections cannot be sent to without first receiving traffic. 3) It is simpler and more general than expecting two ROUTER sockets to handshake on assigned connection names. Plus it allows inline sending to new connections on ROUTER.
-
Goswin von Brederlow authored
Adjust test cases to connection notification. Increase error checking in test cases.
-
Goswin von Brederlow authored
-
- 16 Jan, 2014 3 commits
-
-
Richard Newton authored
fixed cmake merge related to version.rc.in handling
-
Sergei Nikulov authored
-
Pieter Hintjens authored
Corrects ypipe initialization when conflate is NOT enabled.
-
- 15 Jan, 2014 6 commits
-
-
Eric Cornelius authored
-
Eric Cornelius authored
Fixes LIBZMQ-584
-
Pieter Hintjens authored
Adds support for detecting ZMQ_STREAM disconnections.
-
Pieter Hintjens authored
Fixes CMake build after ZAP test file was deleted.
-
Andre Caron authored
File was removed in 5bf96f64 a few days ago.
-
Andre Caron authored
When a ZMQ_STREAM socket connection is broken (intentionally, via `shutdown()` or accidentally via client crash or network failure), there is no way for the application to dertermine that it should drop per-connection data (such as buffers). This contribution makes sure the application receives a 0-length message to notify it that the connection has been broken. This is symmetric with the process of closing the connection from within the application (where the application sends a 0-length message to tell ZeroMQ to close the connection). Conflicts: CMakeLists.txt
-
- 14 Jan, 2014 2 commits
-
-
Pieter Hintjens authored
Define NOMINMAN to fix windows build.
-
Richard Newton authored
-
- 13 Jan, 2014 2 commits
-
-
Pieter Hintjens authored
use version-script only for ELF linux
-
Bruno D. Rodrigues authored
-