Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: The timeout option is not working as expected
https://bugzilla.redhat.com/show_bug.cgi?id=577880
Summary: The timeout option is not working as expected
Product: Fedora EPEL
Version: el5
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: perl-Net-STOMP-Client
AssignedTo: steve.traylen(a)cern.ch
ReportedBy: lionel.cons(a)cern.ch
QAContact: extras-qa(a)fedoraproject.org
CC: fedora-perl-devel-list(a)redhat.com,
steve.traylen(a)cern.ch
Classification: Fedora
Description of problem: At object creation time (initial TCP connection), the
timeout option is ignored and may lead to blocking.
Version-Release number of selected component (if applicable): 0.8-1
How reproducible: Easy, just needs a valid IP address which is down, noted
1.2.3.4 below.
Steps to Reproduce:
1. Run the following Perl code:
use Net::STOMP::Client;
my $s = Net::STOMP::Client->new(uri => "tcp://1.2.3.4:1234", timeout
=> 1);
2. Check how long it takes.
Actual results: blocks for several minutes.
Expected results: should return after one second.
Additional info: this is a known bug fixed in version 0.9 of
perl-Net-STOMP-Client, available on CPAN.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.