From 2c416a793ea781273a5da6742211f5f01af13a2b Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 23 Jan 2012 08:53:29 +0100 Subject: Imported Upstream version 2.0.10 --- src/req.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/req.cpp') diff --git a/src/req.cpp b/src/req.cpp index f3695a2..a77c061 100644 --- a/src/req.cpp +++ b/src/req.cpp @@ -111,10 +111,8 @@ void zmq::req_t::xkill (class reader_t *pipe_) void zmq::req_t::xrevive (class reader_t *pipe_) { - // TODO: Actually, misbehaving peer can cause this kind of thing. - // Handle it decently, presumably kill the offending connection. - zmq_assert (pipe_ == reply_pipe); - reply_pipe_active = true; + if (pipe_ == reply_pipe) + reply_pipe_active = true; } void zmq::req_t::xrevive (class writer_t *pipe_) -- cgit v1.2.3