Feature/server tokens #5

merged 2 commits into from Aug 17, 2011


None yet
2 participants

Perlbal has a habit of sending a "Server" header containing "Perlbal" (hardcoded, no version number) back to the user. This can be troublesome when you prefer the server not disclose any identifying traits. It's a pretty big trait. :)

Basically I added a variable to every service that allows to set this Server header off, called "server_tokens", name taken from Apache's ServerTokens variable of the same purpose. Right now it's a boolean but in the future it could be set to something more elaborate to allow various degrees of server tokens. Up to you.

I also added documentation anywhere I could find (quite a bit) and tests.

All the best,

abh added a commit that referenced this pull request Aug 17, 2011

@abh abh merged commit 88585b4 into perlbal:master Aug 17, 2011

abh commented Aug 17, 2011

I disagree with the feature being important; but since you made it so complete with tests and docs it's (in my opinion) an easy merge. Thanks!

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