diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-11-03 17:10:33 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-11-03 17:10:33 +0000 |
commit | 3b2be8ae886744f96eecd38223352e4b4c68a748 (patch) | |
tree | 29f47af2d1791a84f1aca2676418d49102c7a32c /src/grammar.y | |
parent | 69be2b84d7f93ecbecd8a846c6fbec256715694c (diff) |
Removed all the code supporting the TCP tunnelling feature of
tinyproxy. There is really no need for this code, since there are
perfectly good programs out there (like rinetd) which are designed for
TCP tunnelling. tinyproxy should be a good HTTP proxy, nothing more,
and nothing less; therefore, the tunnelling code is gone.
Diffstat (limited to 'src/grammar.y')
-rw-r--r-- | src/grammar.y | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/grammar.y b/src/grammar.y index 526bf7b..cf28e9a 100644 --- a/src/grammar.y +++ b/src/grammar.y @@ -1,4 +1,4 @@ -/* $Id: grammar.y,v 1.15 2002-06-07 18:29:40 rjkaes Exp $ +/* $Id: grammar.y,v 1.16 2002-11-03 17:10:32 rjkaes Exp $ * * This is the grammar for tinyproxy's configuration file. It needs to be * in sync with scanner.l. If you know more about yacc and lex than I do @@ -48,7 +48,7 @@ int yylex(void); %token KW_USER KW_GROUP %token KW_ANONYMOUS KW_XTINYPROXY %token KW_FILTER KW_FILTERURLS KW_FILTEREXTENDED KW_FILTER_DEFAULT_DENY -%token KW_TUNNEL KW_UPSTREAM +%token KW_UPSTREAM %token KW_CONNECTPORT KW_BIND %token KW_ALLOW KW_DENY @@ -152,15 +152,6 @@ statement log_message(LOG_WARNING, "X-Tinyproxy header support was not compiled in."); #endif } - | KW_TUNNEL unique_address ':' NUMBER - { -#ifdef TUNNEL_SUPPORT - config.tunnel_name = $2; - config.tunnel_port = $4; -#else - log_message(LOG_WARNING, "Tunnel support was not compiled in."); -#endif - } | KW_UPSTREAM unique_address ':' NUMBER { #ifdef UPSTREAM_SUPPORT |