When running with Gazelle with Plack::Middleware::Throttle::Lite
I get the following warning on each request:
Use of uninitialized value in join or string at /opt/plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/Plack/Middleware/Throttle/Lite.pm line 280.
This is the code in question in the middlewar:
# Requester's ID
sub requester_id {
my ($self, $env) = @_;
join ':' => 'throttle', $env->{REMOTE_ADDR}, ($env->{REMOTE_USER} || $self->defaults->{username});
}
I believe that $env->{REMOTE_ADDR} is not set by Gazelle?
When running with Gazelle with Plack::Middleware::Throttle::Lite I get the following warning on each request:
Use of uninitialized value in join or string at /opt/plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/Plack/Middleware/Throttle/Lite.pm line 280.
This is the code in question in the middlewar:
I believe that $env->{REMOTE_ADDR} is not set by Gazelle?
I am running with Gazelle like this:
The default HTTP::Server::PSGI server has no such warning.