diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-02-18 18:34:20 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-02-18 18:34:20 +0000 |
commit | b1ddc98ab0ddcdfa065abcc8088722243b946d4e (patch) | |
tree | 07c3179d27a33e9802d84fae8b3364f94980b0bf /src/rabbit_writer.erl | |
parent | be5107d83082bcfd2292b307dc4903fa2c78fa6f (diff) | |
download | rabbitmq-server-b1ddc98ab0ddcdfa065abcc8088722243b946d4e.tar.gz |
Ensure that we resume socket reading in all edge casesbug25457
Specifically in all the cases where handle_other might have changed
the connection_state.
This is most straightforward and obvious to guarantee by always
invoking recvloop after handle_other, unless we are stopping.
This does expose an inconsistency in the various non-throw/exit
termination cases: two of them were returning State, the other
ok. Let's go with the latter; it's easiest.
We also take the opportunity to eliminate 'Deb' from the handle_other
signature. This is only needed in the {system, ...} message case,
which we now handle specially.
Diffstat (limited to 'src/rabbit_writer.erl')
0 files changed, 0 insertions, 0 deletions