summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-08-11 12:15:28 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-08-11 12:15:28 +0100
commit26fab415b046e26abed1316e3b09e3ea04a087ad (patch)
tree1e0aa632f657e5c178e6464df7b093d3174b8b3a
parent42c5f78282c1a824dc9309f64e43262a83ef7c9a (diff)
downloadrabbitmq-server-git-26fab415b046e26abed1316e3b09e3ea04a087ad.tar.gz
...and inline that again.
-rw-r--r--src/rabbit_reader.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 06fb52b37f..68cef56aff 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -597,9 +597,6 @@ handle_exception(State = #v1{connection = #connection{protocol = Protocol},
ok = send_on_channel0(State1#v1.sock, CloseMethod, Protocol),
State1;
handle_exception(State, Channel, Reason) ->
- fail_handshake_after_delay(State, Channel, Reason).
-
-fail_handshake_after_delay(State, Channel, Reason) ->
%% We don't trust the client at this point - force them to wait
%% for a bit so they can't DOS us with repeated failed logins etc.
timer:sleep(?SILENT_CLOSE_DELAY * 1000),