summaryrefslogtreecommitdiff
path: root/src
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
commit21e2b0e5c98862504b3a43f739ced2c77691aec3 (patch)
tree4236eebbbfbcd11bb2600e0cf066410ca005d1a9 /src
parentdc62002ef29b02bb281a000c4a3867c5f7c3f1a5 (diff)
downloadrabbitmq-server-git-21e2b0e5c98862504b3a43f739ced2c77691aec3.tar.gz
Update documentation to include connection.secure steps
Diffstat (limited to 'src')
-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 475c415ecf..b5d82ac230 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: