Commit 84a93d42 authored by Constantin Rack's avatar Constantin Rack

Merge pull request #1511 from sorenh/linger_fix

Avoid terminating connections prematurely
parents ba6e1337 abc845d1
......@@ -460,6 +460,7 @@ void zmq::session_base_t::process_term (int linger_)
// TODO: Should this go into pipe_t::terminate ?
// In case there's no engine and there's only delimiter in the
// pipe it wouldn't be ever read. Thus we check for it explicitly.
if (!engine)
pipe->check_read ();
}
......
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