Skip to content

chore: initialize echo instance with LegacyIpExtractor - #3096

Open
fernandes6502 wants to merge 1 commit into
labstack:masterfrom
fernandes6502:master
Open

fernandes6502 wants to merge 1 commit into
labstack:masterfrom
fernandes6502:master

Conversation

@fernandes6502

Copy link
Copy Markdown

Description

The documentation says that if you don't set a IPExtractor, the LegacyIPExtractor will be used. But it was not being initialized by default when a new Echo instance is created.

Now it correctly set the LegacyIPExtractor as default IPExtractor and overrides it when called via NewWithConfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant