-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the option to publish vars via expvars. (#76)
Expvars exposes the program's command line arguments at /var/debug - this cannot be disabled and is a security risk. It also panics and logs if a duplicate var name is passed in (because we use it incorrectly). Additionally, it doesn't appear that anything still relies on the memory or other stats published by expvars - so remove it.
- Loading branch information
Charlie Vieth
authored
May 24, 2019
1 parent
b51f9d2
commit 03ea723
Showing
1 changed file
with
5 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters