Subject: | Handle when REMOTE_ADDR is undef, such as when using Unix socket |
Date: | Fri, 8 Feb 2019 13:02:21 -0500 |
To: | bug-Plack-Middleware-XForwardedFor [...] rt.cpan.org |
From: | Erik Ferguson <erik6 [...] pair.com> |
REMOTE_ADDR in the PSGI environment will be undef when the PSGI app is
run using a Unix socket. While the module does work correctly, a warning
is emitted on every request, which causes lots of noise in the PSGI logs.
I submitted a patch via a pull request:
https://github.com/gbarr/Plack-Middleware-XForwardedFor/pull/5
Module version 0.172050
perl 5, version 26, subversion 1 (v5.26.1) built for
x86_64-linux-gnu-thread-multi