Skip Menu |
 

This queue is for tickets about the Net-Stomp CPAN distribution.

Report information
The Basics
Id: 58502
Status: resolved
Priority: 0/
Queue: Net-Stomp

People
Owner: Nobody in particular
Requestors: michael [...] dynamine.net
Cc:
AdminCc:

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



Subject: Regression: recv() no longer blocks if no timeout is supplied
Date: Thu, 17 Jun 2010 18:01:41 -0700
To: bug-Net-Stomp [...] rt.cpan.org
From: Michael Fischer <michael [...] dynamine.net>
Download (untitled) / with headers
text/plain 432b
Net::Stomp::recv() no longer blocks waiting for a new frame if no timeout is supplied (instead, it returns undef immediately). This is a regression from previous versions. To fix this, the following change must be made in can_read(): sub can_read { my ( $self, $conf ) = @_; $conf ||= {}; my $timeout = exists $conf->{timeout} ? $conf->{timeout} : undef; # not 0 return $self->select->can_read($timeout) || 0; }
0.37 uploaded to PAUSE


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.