Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Handle when REMOTE_ADDR is undef, such as when using Unix socket #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

muraiki
Copy link

@muraiki muraiki commented Jan 29, 2019

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 without this change, a warning is emitted on every request, which causes lots of noise in the PSGI logs. Please consider merging this, and let me know if I should make any changes. Thank you!

While the module does work correctly without this change, a
warning is emitted on every request, polluting logs.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant