summaryrefslogtreecommitdiff
path: root/src/scanner.l
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-11-26 21:44:43 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-11-26 21:44:43 +0000
commite58343012fa999a33ed2bcfd569fbbe3e861d0a1 (patch)
tree4b66b79746a3ec8a9fced14034db0fbe481425c8 /src/scanner.l
parentc826b18437dfc460e0d360c375241ce65a7ef7f8 (diff)
downloadtinyproxy-e58343012fa999a33ed2bcfd569fbbe3e861d0a1.tar.gz
tinyproxy-e58343012fa999a33ed2bcfd569fbbe3e861d0a1.zip
Included code to disable the sending of the Via header. This is now
controlled by the ViaHeader configure directive.
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index e6c33a9..f6dbd51 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -1,4 +1,4 @@
-/* $Id: scanner.l,v 1.15 2002-11-03 17:10:32 rjkaes Exp $
+/* $Id: scanner.l,v 1.16 2002-11-26 21:44:43 rjkaes Exp $
*
* This builds the scanner for the tinyproxy configuration file. This
* file needs to stay in sync with grammar.y. If someone knows lex and yacc
@@ -53,6 +53,7 @@ static struct keyword keywords[] = {
{ "deny", KW_DENY },
{ "connectport", KW_CONNECTPORT },
{ "bind", KW_BIND },
+ { "viaheader", KW_HTTP_VIA },
/* loglevel and the settings */
{ "loglevel", KW_LOGLEVEL },