Skip Menu |

This queue is for tickets about the POE-Component-IRC CPAN distribution.

Report information
The Basics
Id: 49670
Status: resolved
Priority: 0/
Queue: POE-Component-IRC

People
Owner: Nobody in particular
Requestors: thhoff [...] gmail.com
Cc:
AdminCc:

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



Subject: Hangs when trying to connect to a non-exsisting server
Date: Sun, 13 Sep 2009 13:19:53 +0200
To: bug-POE-Component-IRC [...] rt.cpan.org
From: Thomas Hoff <thhoff [...] gmail.com>
POE::Component::IRC just hangs when trying to connect to a server that doesn't exist/work. I suppose this could be solved by the Plugin::Connector, so that it sets a connect_timeout delay just before connecting. If connecting times out, it should shuffle the servers and try the next one in the list. It would also be nice with ->server and ->port wrappers around $irc->{server} and $irc->{port} if possible
I've seen this problem only on Windows, so I'm assuming that's what you're using. This is due to a bug which will be fixed in the next release of POE. I added the server() and port() accessors you requested.