summaryrefslogtreecommitdiff
path: root/src/xreq.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-10-31 15:56:39 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-10-31 15:56:39 +0100
commit4b832ea37410035bba7b85e5e9988af8eda648c2 (patch)
tree6176bb39cdc71cce967fc7e7a45474bba3f92357 /src/xreq.cpp
parent9227c389331c26d24e515bdd46867013f0cbd641 (diff)
Revert the early dropping of request and replies for disconnected clients
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xreq.cpp')
-rw-r--r--src/xreq.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xreq.cpp b/src/xreq.cpp
index 79b3b94..02a5202 100644
--- a/src/xreq.cpp
+++ b/src/xreq.cpp
@@ -27,9 +27,11 @@ zmq::xreq_t::xreq_t (class ctx_t *parent_, uint32_t tid_) :
{
options.type = ZMQ_XREQ;
+ // TODO: Uncomment the following line when XREQ will become true XREQ
+ // rather than generic dealer socket.
// If the socket is closing we can drop all the outbound requests. There'll
// be noone to receive the replies anyway.
- options.delay_on_close = false;
+ // options.delay_on_close = false;
}
zmq::xreq_t::~xreq_t ()