summaryrefslogtreecommitdiff
path: root/src/req.cpp
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-10-21 16:21:20 +0200
committerMartin Lucina <martin@lucina.net>2012-01-23 08:53:31 +0100
commit3f0085ddbef1a44b6bb7a0b23af497d56e0025fa (patch)
tree0adac3a5b31b2a1d9a89ec5a797f34c1a3fdf27a /src/req.cpp
parent90d73cba9cd1d1724f38ed82fc0eefb1781c9c20 (diff)
parent2c416a793ea781273a5da6742211f5f01af13a2b (diff)
Imported Debian patch 2.0.10-1debian/2.0.10-1
Diffstat (limited to 'src/req.cpp')
-rw-r--r--src/req.cpp6
1 files changed, 2 insertions, 4 deletions
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_)