summaryrefslogtreecommitdiff
path: root/src/session_base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session_base.hpp')
-rw-r--r--src/session_base.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/session_base.hpp b/src/session_base.hpp
index 8b0d019..47da8c2 100644
--- a/src/session_base.hpp
+++ b/src/session_base.hpp
@@ -118,10 +118,18 @@ namespace xs
// the engines into the same thread.
xs::io_thread_t *io_thread;
- // If true, identity is to be sent/recvd from the network.
+ // If true, identity is to be sent to the network.
bool send_identity;
+
+ // If true, identity was already sent to the current connection.
+ bool identity_sent;
+
+ // If true, identity is to be received from the network.
bool recv_identity;
+ // If true, identity was already received from the current connection.
+ bool identity_recvd;
+
// Protocol and address to use when connecting.
std::string protocol;
std::string address;