diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-02-14 13:34:48 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-02-14 13:34:48 +0100 |
commit | 43620b3d35e3f3a6e49046fdc0426651bf58dedb (patch) | |
tree | 144d680f6dec4c0773133a42900eb6acaf95282e /src/rep.cpp | |
parent | 4405250d93a2ad6eb3940c4bc4fe8ea32bd52f9e (diff) |
Multi-hop REQ/REP, part X., optional delayed creation of pipes during connect
Diffstat (limited to 'src/rep.cpp')
-rw-r--r-- | src/rep.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rep.cpp b/src/rep.cpp index b6bffae..8c5b86c 100644 --- a/src/rep.cpp +++ b/src/rep.cpp @@ -32,6 +32,11 @@ zmq::rep_t::rep_t (class app_thread_t *parent_) : { options.requires_in = true; options.requires_out = true; + + // We don't need immediate connect. We'll be able to send messages + // (replies) only when connection is established and thus requests + // can arrive anyway. + options.immediate_connect = false; } zmq::rep_t::~rep_t () |