Subject: | Error (timeout) in Client.pm line 142 and line 186 |
Date: | Wed, 14 Apr 2010 20:52:50 -0400 |
To: | bug-MozRepl [...] rt.cpan.org |
From: | Benoit Quenneville <info [...] newzi.com> |
Step #1
Error (add ",Timeout => $self->{timeout}") in Client.pm line 186
my $message = [map { chomp; $_ } $self->telnet->cmd(String =>
$command)];
Replace to
my $message = [map { chomp; $_ } $self->telnet->cmd(String =>
$command, Timeout => $self->{timeout})];
----------------------------------------------------------------------------------------------------------
Step #2
Error (Timeoout) in Client.pm line 142
$connect_args{Timeoout} = int($args->{timeout}) if (defined
$args->{timeout} && $args->{timeout} > 0);
Replace to
$connect_args{Timeout} = int($args->{timeout}) if (defined
$args->{timeout} && $args->{timeout} > 0);
----------------------------------------------------------------------------------------------------------
That cause an error with the setting of the timeout !
Best regards !
Benoit Quenneville