Permalink
Browse files

fixed showing server status

  • Loading branch information...
cho45 committed Dec 1, 2010
1 parent d4ee2e9 commit 29e81930b5d87df908b9db9353724c373133264e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Starlet/Server.pm
View
@@ -194,7 +194,7 @@ sub handle_connection {
}
}
- $self->server_status('W' => $env->{REMOTE_ADDR}, $env->{HTTP_HOST}, $env->{REQUEST_METHOD}, $env->{REQUEST_URI}, $env->{SERVER_PROTOCOL});
+ $self->server_status('W' => $env);
if (ref $res eq 'ARRAY') {
$self->_handle_response($res, $conn, \$use_keepalive);
} elsif (ref $res eq 'CODE') {

0 comments on commit 29e8193

Please sign in to comment.