Issues

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

Attachments:

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

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts