summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-10-26 19:08:33 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-10-26 19:08:33 +0100
commit40e39047cece59c5b022a855e557b33d2547b1d4 (patch)
tree9ffc30ed2f0b1e2b9851daed98c5ab8544d57164 /src
parent10c649436a44687d7145da58c2562cada6991b23 (diff)
downloadrabbitmq-server-git-40e39047cece59c5b022a855e557b33d2547b1d4.tar.gz
remove incorrect/out-of-date comments
- the failure type of {un}bind was corrected to a channel-level error in 0-9-1 - bindings to internal exchanges are ok; publishing isn't, and we check for that - bindings to the default exchange *aren't* ok, and we enforce that
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 0d13312b0b..54427206c5 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -1153,10 +1153,6 @@ binding_action(Fun, ExchangeNameBin, DestinationType, DestinationNameBin,
RoutingKey, Arguments, ReturnMethod, NoWait,
State = #ch{virtual_host = VHostPath,
conn_pid = ConnPid }) ->
- %% FIXME: connection exception (!) on failure??
- %% (see rule named "failure" in spec-XML)
- %% FIXME: don't allow binding to internal exchanges -
- %% including the one named "" !
{DestinationName, ActualRoutingKey} =
expand_binding(DestinationType, DestinationNameBin, RoutingKey, State),
check_write_permitted(DestinationName, State),