-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support forwarded for #137
Conversation
Currently this would be a breaking change and I'm a bit hesititant to release a major version. Have you thought about compatibility? It also looks like the tests are failing. Could you also have a look at adding one for the new values? |
hi @ekohl, |
Looks good I'd say and that's nice way of avoiding one the if, elses, I'll steal that for the future. Some tests with the new values would be good.
|
- added some tests - added supported values to readme
thanks for your feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Pull Request (PR) description
right now the param "forward_for" is a boolean that allows to set "on" or "off". Squid however can be configured using one of the values: "on", "off", "transparent", "delete", "truncate".
this PR adds support for this..
also see: http://www.squid-cache.org/Doc/config/forwarded_for/
seems to work for me, please consider to merge it. thanks.