summaryrefslogtreecommitdiff
path: root/src/req.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-20 17:37:04 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-20 17:37:04 +0100
commit0c99d04db9240f29493a4d774be677dc682547ca (patch)
treee3be78125bb01271dd7f172eaf6cfcc5f2afc08f /src/req.hpp
parent818d122d78e4b3bc55fdc376b43e15841b2e2006 (diff)
Make REQ session state machine aware of reconnections
On reconnections, state machine in req_session_t is reset to the initial state. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/req.hpp')
-rw-r--r--src/req.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/req.hpp b/src/req.hpp
index 10e06f2..0434ddd 100644
--- a/src/req.hpp
+++ b/src/req.hpp
@@ -72,6 +72,7 @@ namespace xs
// Overloads of the functions from session_base_t.
int write (msg_t *msg_);
+ void detach ();
private: