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

Issue Type: Bug Created: 2012-01-04T16:21:59.000+0000 Last Updated: 2012-03-08T17:34:44.000+0000 Status: Open Fix version(s): Reporter: Dan Osipov (danospv) Assignee: Justin Plock (jplock) Tags: - Zend_Queue

  • zf-crteam-review

Related issues: - ZF-9958



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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.