Skip Menu |

This queue is for tickets about the TL1ng CPAN distribution.

Report information
The Basics
Id: 37619
Status: resolved
Worked: 20 min
Priority: 0/
Queue: TL1ng

People
Owner: Nobody in particular
Requestors: jer [...] gweep.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07
Fixed in: 0.07



Subject: TL1::Base::get_resp looping
The issue I was trying to debug in TL1.pm was in interacting with Tellabs' EMS. if the EMS has too many connections, or is out of resources, it will accept() the request from the client, and then close the socket. in TL1.pm, this threw the listener thread into a tizzy. in TL1ng , this results in TL1ng::Source::Telnet getting an EOF, and disconnecting the source. TL1ng::Base->get_resp then loops, trying to read from the disconnected source until timeout is reached. I've added a last unless $self->source->connected(); inside the while loop to jump out of the loop. In my POE application, the child process would fall into this loop , and send up a message on STDERR that the socket was no longer connected each trip around the loop. the main POE state machine in the main process would choke on all these debug messages, and hang until the child was kill'ed.
Sorry this too so long - it dropped off my radar and only came back because I started working on another dist! Since I had a spare tuit today I've inserted that line in the appropriate place and am uploading the new version now.
Subject: Re: [rt.cpan.org #37619] TL1::Base::get_resp looping
Date: Tue, 9 Sep 2008 11:57:42 -0400
To: "Stephen R. Scaffidi via RT" <bug-TL1ng [...] rt.cpan.org>
From: Lucky Captain Rabbit King <jer [...] gweep.net>
On Tue, Sep 09, 2008 at 11:54:26AM -0400, Stephen R. Scaffidi via RT wrote: Show quoted text
> Sorry this too so long - it dropped off my radar and only came back > because I started working on another dist! Since I had a spare tuit > today I've inserted that line in the appropriate place and am uploading > the new version now.
no worries! thanks for the update -jer
Patch added, new version uploaded.