mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Revert "Fix condition so that PGM and EPGM sockets always create pipes immediately, even if delay_attach_on_connect is set. This allows passing through the icanhasall flag, and is realistic given the fact those protocols should be able to connect immediately"
This reverts commit b5ace39e2a
.
This commit is contained in:
parent
6c382c5c61
commit
48d3977632
@ -536,7 +536,7 @@ int zmq::socket_base_t::connect (const char *addr_)
|
||||
if (protocol == "pgm" || protocol == "epgm")
|
||||
icanhasall = true;
|
||||
|
||||
if (options.delay_attach_on_connect != 1 || icanhasall) {
|
||||
if (options.delay_attach_on_connect != 1 && icanhasall != true) {
|
||||
// Create a bi-directional pipe.
|
||||
object_t *parents [2] = {this, session};
|
||||
pipe_t *pipes [2] = {NULL, NULL};
|
||||
|
Loading…
Reference in New Issue
Block a user