summaryrefslogtreecommitdiff
path: root/src/conf.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2009-12-07Add free_config() - free all config data.Michael Adam1-0/+31
Michael
2009-12-07Add connect_ports list to config struct instead of keeping extra global var.Michael Adam1-1/+2
Michael
2009-12-07Move handling of connect_ports list to its own source module.Michael Adam1-0/+1
Michael
2009-12-07Add access_list to the config struct instead of a global variable in acl.c.Michael Adam1-2/+2
Change insert_acl, check_acl and flush_access_list to take a corresponding argument. Michael
2009-12-07Add reversepath_list parameter to reversepath_add.Michael Adam1-2/+2
Michael
2009-12-07upstream: add upstream list parameter to upstream_add()Michael Adam1-3/+3
to abstract it from the concrete list in the config struct. Michael
2009-12-06move handling of upstream list to new module upstream.{c,h}Michael Adam1-0/+1
Michael
2009-12-06conf: fix tab->spacesMichael Adam1-1/+1
Michael
2009-12-06conf: allow set_string_arg to overwrite previous values (i.e. don't leak)Michael Adam1-0/+4
Michael
2009-11-16set_string_arg: Remove unneccesary check for determining the return code.Michael Adam1-1/+1
2009-11-17Remove excessive copyingMukund Sivaraman1-2/+3
2009-11-14Fix typo in log stringMukund Sivaraman1-1/+1
2009-11-14conf: refactor loading of config file out into load_config_file()Michael Adam1-2/+27
and make config_compile and config_parse static to conf.c Michael
2009-11-10conf: fix reverspath parsing: the string in the 2nd arg is actually the ↵Michael Adam1-2/+2
inner match this fixes bug #64, https://www.banu.com/bugzilla/show_bug.cgi?id=64 the quotes of the string were part of the revers path after parseing. Michael
2009-11-10conf: make the WS optional too, before the optional 2nd argument to reversepathMichael Adam1-1/+1
Michael
2009-11-10conf: fix ipv6 regex patterns, take threeMichael Adam1-0/+1
This extends the pattern by an alternative where there are no double colons. This is for instance the case for and IPv6 address of the form 1111:222:33:4:55:666:7777:888 Michael
2009-11-09conf: fix the IPV6 regex patterns, take twoMichael Adam1-17/+17
The patterns should not end with the end of line marker, since they might be part of a continuing pattern, say of the form ipv6address/mask (used for allow/deny) Michael
2009-11-09conf: fix the IPV6 regex patternsMichael Adam1-17/+17
These are not matched against the beginning of a line but somewhere in the middle (as in "listen <IPv6 address>"). Michael
2009-11-09Fix validation of IPv6 addressesMukund Sivaraman1-4/+27
2009-10-11Add a boolean config option "DisableViaHeader".Michael Adam1-0/+15
2009-09-28conf: beautify one formatting in the directives array.Michael Adam1-1/+2
Michael
2009-09-27conf: make xtinyproxy BOOL in the directives array, tooMichael Adam1-1/+1
Michael
2009-09-27conf: turn XTinyproxy into a boolean optionMichael Adam1-1/+1
This is what it actually is. The string value was used in earlier versions to compare against the uri->authority string. But not as a list of sites to create an X-Tinyproxy header for, as the tinyproxy.conf template states... Michael
2009-09-21Rename conffile.[ch] to conf.[ch]Mukund Sivaraman1-0/+759