summaryrefslogtreecommitdiff
path: root/LICENSE-MPL-RabbitMQ
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-02-03 16:55:41 +0000
committerMatthias Radestock <matthias@lshift.net>2010-02-03 16:55:41 +0000
commit593d0146d9bf1493d71c4c33c7d2a5e9c657cf1d (patch)
tree5554b80e8de5c7a8931b6518de58962c136c9536 /LICENSE-MPL-RabbitMQ
parent3dec42150daa769a118eba7358b5eca73b3d6554 (diff)
downloadrabbitmq-server-git-593d0146d9bf1493d71c4c33c7d2a5e9c657cf1d.tar.gz
extend rabbit_reader API with a shutdown fun
This is wired into the same logic as the handling of a supervisor-initiated shutdown. When the connection is in the 'running' state we send a 'connection.close' with a CONNECTION_FORCED code and follow our normal connection closure logic. In any other state we just drop out of the mainloop and thus close the socket.
Diffstat (limited to 'LICENSE-MPL-RabbitMQ')
0 files changed, 0 insertions, 0 deletions