diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-10-26 19:08:33 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-10-26 19:08:33 +0100 |
commit | 732f05567ff46f6152920e47d6921e15248e662b (patch) | |
tree | 9ffc30ed2f0b1e2b9851daed98c5ab8544d57164 | |
parent | b9c8164436a44c771b4b456ffbedebb9c042dd2a (diff) | |
download | rabbitmq-server-732f05567ff46f6152920e47d6921e15248e662b.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
-rw-r--r-- | src/rabbit_channel.erl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 0d13312b..54427206 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), |