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:
Ian Barber 2012-06-12 14:47:27 +01:00
parent 836fa4b7ca
commit 8968b294e0

View File

@ -408,8 +408,7 @@ void zmq::session_base_t::detached ()
// For delayed connect situations, terminate the pipe
// and reestablish later on
if (pipe && options.delay_attach_on_connect == 1
&& addr->protocol != "pgm" && addr->protocol != "epgm") {
if (pipe && options.delay_attach_on_connect == 1) {
pipe->terminate (false);
socket->terminated (pipe);
pipe = NULL;