mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-25 07:41:10 +01:00
Revert "When detaching a pipe, as well as checking the delay on connect sockopt is set, also ensure that the protocol is not pgm or epgm as we are not implementing the functionality for multicase types"
This reverts commit 5008f385bab2dd89c68d7ff93e0c5b303c6043e8.
This commit is contained in:
parent
836fa4b7ca
commit
8968b294e0
@ -408,8 +408,7 @@ void zmq::session_base_t::detached ()
|
|||||||
|
|
||||||
// For delayed connect situations, terminate the pipe
|
// For delayed connect situations, terminate the pipe
|
||||||
// and reestablish later on
|
// and reestablish later on
|
||||||
if (pipe && options.delay_attach_on_connect == 1
|
if (pipe && options.delay_attach_on_connect == 1) {
|
||||||
&& addr->protocol != "pgm" && addr->protocol != "epgm") {
|
|
||||||
pipe->terminate (false);
|
pipe->terminate (false);
|
||||||
socket->terminated (pipe);
|
socket->terminated (pipe);
|
||||||
pipe = NULL;
|
pipe = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user