ZF-11967: Connection to RabbitMQ through STOMP causes a timeout


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…


No comments to display