ZF-11967: Connection to RabbitMQ through STOMP causes a timeout
Description
Timeout occurs in the Zend_Queue_Stomp_Client_Connection::read function. This is due to incorrect reading of the end of frame.
Switching the two variables around in the condition, so that \0\n signifies the end of message instead of \n\0 fixes the problem. ie ... if (ord($prev) == 10 && ord($data) == 0) { ...
See this thread for more info about the end of frame implementation in different clients http://activemq.2283324.n4.nabble.com/Stomp-C-Clie…
Comments
No comments to display