Commit 5008f385 authored by Ian Barber's avatar Ian Barber

When detaching a pipe, as well as checking the delay on connect sockopt is set,…

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
parent 09d18e4b
......@@ -408,7 +408,8 @@ 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) {
if (pipe && options.delay_attach_on_connect == 1
&& addr->protocol != "pgm" && addr->protocol != "epgm") {
pipe->terminate (false);
socket->terminated (pipe);
pipe = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment