summaryrefslogtreecommitdiff
path: root/src/connect_session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connect_session.cpp')
-rw-r--r--src/connect_session.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/connect_session.cpp b/src/connect_session.cpp
index 833b551..4d8e322 100644
--- a/src/connect_session.cpp
+++ b/src/connect_session.cpp
@@ -105,14 +105,13 @@ void zmq::connect_session_t::start_connecting ()
zmq_assert (false);
}
-void zmq::connect_session_t::detached ()
+void zmq::connect_session_t::attached (const blob_t &peer_identity_)
{
- // Clean up the mess left over by the failed connection.
- clean_pipes ();
+}
+void zmq::connect_session_t::detached ()
+{
// Reconnect.
start_connecting ();
-
- session_t::detached ();
}