Subject: | 'Not an ARRAY reference' error in sub _ka_shutdown |
I think there is a bug in sub _ka_shutdown at line 923. Code:
# Stop any pending resolver requests.
foreach my $host (keys %{$heap->{resolve}}) {
DEBUG and warn "SHT: Shutting down resolver requests for $host";
foreach my $request (@{$heap->{resolve}{$host}}) {
$self->_shutdown_request($kernel, $request);
}
# Technically not needed since the resolver shutdown should do it.
$self->[SF_RESOLVER]->cancel( $heap->{resolve}->[0]->[RQ_RESOLVER_ID] );
}
I think in last line must be '$heap->{resolve}->{$host}' instead '$heap->{resolve}->[0]'.