Closed choyuri closed 7 years ago
How can this be reproduced?
Looks like a Web STOMP consumer has to be cancelled by the server. At first approximation the hypothesis of @choyuri seems correct: rabbit_stomp_processor:cancel_consumer/2
indeed returns a 3-tuple and not a pair.
I corrected my hypothetic way of reproducing it. Looks like it was a server-initiated cancellation after all (via consumer cancel notification)
Reproduced by running the echo example from RabbitMQ Web STOMP examples and deleting the queue it was using.
It took a bit more than fixing the case clause but the hypothesis was correct. Submitted two pull requests for 3.6.10.
wow thank you for the fast turn around!
this looks like a simple function return mismatch
case clause expects a 2- tuple but the function call returns 3- tuple
rabbit_stomp_process:process_request
returns 3-tupleissue is present on rabbitmq_v3_6_9 release