Skip Menu |

This queue is for tickets about the AnyEvent-RabbitMQ CPAN distribution.

Report information
The Basics
Id: 79509
Status: resolved
Priority: 0/
Queue: AnyEvent-RabbitMQ

People
Owner: Nobody in particular
Requestors: chip [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.08
Fixed in: (no value)



Subject: ->publish when flow control enabled drops data
It seems that if you call ->publish on a channel where the peer has turned off flow control (i.e. ->{_is_active} is false), the published data are lost, with no error message. Thus: sub publish { my $self = shift; my %args = @_; return $self if !$self->{_is_active}; This can't possibly be right, can it?
On Sat Sep 08 00:32:01 2012, CHIPS wrote: Show quoted text
> This can't possibly be right, can it?
No, it can't! (I've never used flow control turned off, but a patch to fix it would be welcome, especially if accompanied by tests :))
Subject: Re: [rt.cpan.org #79509] ->publish when flow control enabled drops data
Date: Sat, 08 Sep 2012 14:24:33 -0700
To: bug-AnyEvent-RabbitMQ [...] rt.cpan.org
From: Chip Salzenberg <chip [...] pobox.com>
On 9/8/2012 4:10 AM, Tomas Doran via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=79509 > > > On Sat Sep 08 00:32:01 2012, CHIPS wrote:
>> This can't possibly be right, can it?
> No, it can't! (I've never used flow control turned off, but a patch to > fix it would be welcome, especially if accompanied by tests :))
RMQ 2.8 turns uses flow control a lot, and is highly annoying as a result. We're back on 2.7.
This was fixed in your patchset.