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 9381a84abb4c7aad13b51a01b55d63eba66f42d3 1 parent c6da7d0
@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.