Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed showing server status

  • Loading branch information...
commit 29e81930b5d87df908b9db9353724c373133264e 1 parent d4ee2e9
@cho45 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Starlet/Server.pm
View
2  lib/Starlet/Server.pm
@@ -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') {
Please sign in to comment.
Something went wrong with that request. Please try again.