[libanyevent-rabbitmq-perl] 140/151: Fix RT#84222, continue reading AMQP packets after a heartbeat.
Damyan Ivanov
dmn at moszumanska.debian.org
Thu Jan 16 11:03:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to annotated tag debian/1.12-1
in repository libanyevent-rabbitmq-perl.
commit ae00a80c6433ed1b077b4c67f9d8094c90003360
Author: Dave Lambley <github at davel.me.uk>
Date: Wed Mar 27 10:40:44 2013 +0000
Fix RT#84222, continue reading AMQP packets after a heartbeat.
---
lib/AnyEvent/RabbitMQ.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/AnyEvent/RabbitMQ.pm b/lib/AnyEvent/RabbitMQ.pm
index 6bc83a0..49596ba 100644
--- a/lib/AnyEvent/RabbitMQ.pm
+++ b/lib/AnyEvent/RabbitMQ.pm
@@ -193,7 +193,7 @@ sub _read_loop {
if (0 == $id) {
if ($frame->type_id == 8) {
# Heartbeat, no action needs taking.
- return;
+ goto &_read_loop;
}
return if !$self->_check_close_and_clean($frame, $close_cb,);
$self->{_queue}->push($frame);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-rabbitmq-perl.git
More information about the Pkg-perl-cvs-commits
mailing list