Subject: | Crash in LOG2HANDLER |
With a LOG2HANDLER, dies is DONE event handler.
Fix is to use method call rather than array de-reference.
--- lib/POE/Component/Server/SimpleHTTP.pm 3 Dec 2010 18:17:59 -0000 1.1
+++ lib/POE/Component/Server/SimpleHTTP.pm 3 Dec 2010 18:35:03 -0000
@@ -921,7 +921,7 @@
$kernel->call(
$self->log2handler->{'SESSION'},
$self->log2handler->{'EVENT'},
- $self->_requests->{$id}[3], $response
+ $self->_requests->{$id}->request, $response
);
# Warn if we had a problem dispatching to the log handler above