summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-02-03 15:52:59 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-02-03 15:52:59 +0000
commit1976ccc3c21412f449787b9a04f63d72b90119ba (patch)
tree4236eebbbfbcd11bb2600e0cf066410ca005d1a9
parentbfbc86ca076b1ccb5beb18cfea3ad5b131cf0f8b (diff)
downloadrabbitmq-server-1976ccc3c21412f449787b9a04f63d72b90119ba.tar.gz
Update documentation to include connection.secure steps
-rw-r--r--src/rabbit_reader.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 475c415e..b5d82ac2 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -72,7 +72,13 @@
%% pre-init:
%% receive protocol header -> send connection.start, *starting*
%% starting:
-%% receive connection.start_ok -> send connection.tune, *tuning*
+%% receive connection.start_ok -> *securing*
+%% securing:
+%% check authentication credentials
+%% if authentication success -> send connection.tune, *tuning*
+%% if more challenge needed -> send connection.secure,
+%% receive connection.secure_ok *securing*
+%% otherwise send close, *exit*
%% tuning:
%% receive connection.tune_ok -> start heartbeats, *opening*
%% opening: