Skip to content

Commit

Permalink
fixed showing server status
Browse files Browse the repository at this point in the history
  • Loading branch information
cho45 committed Dec 1, 2010
1 parent c6da7d0 commit 9381a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Starlet/Server.pm
Expand Up @@ -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') {
Expand Down

0 comments on commit 9381a84

Please sign in to comment.