Closed ssanden closed 5 years ago
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, thanks for the feedback. i added some updates for backward compatibility. cheers
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.
Currently there are zero docs for
thanks for your feedback. i added the suggested code from the review and also some tests and the supported values in the readme. please have another look.
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.