|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61313 AMQPQueue::cancel is unusable
Submitted: 2012-03-07 08:00 UTC Modified: 2013-04-17 15:27 UTC
From: glen dot mailer at bskyb dot com Assigned: bkw (profile)
Status: Closed Package: amqp (PECL)
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: glen dot mailer at bskyb dot com
New email:
PHP Version: OS:


 [2012-03-07 08:00 UTC] glen dot mailer at bskyb dot com
basic.cancel is used to cancel the action of a previous basic.consume call.

However, this package lets the server generate the consumer tag, and throws away the return value of librabbitmq's amqp_basic_consume function - therefore there's no way of knowing what the consumer tag for the consumption is, and no way of cancelling it.

This manifests itself as any messages being sent to an unreadable buffer if using AMQPQueue::consume and returning FALSE.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-14 01:13 UTC] bkw at codingforce dot com
This has been fixed in version 1.0.9 of the library.
We're still working on getting the documentation updated, but you can read all 
about this particular case here:
 [2013-04-17 15:27 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: bkw
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jul 28 19:01:24 2021 UTC