Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-25 | Fix compiler warning about dereferencing type-punned pointers | Mukund Sivaraman | 1 | -15/+16 | |
2010-01-16 | conf: reduce indentation in load_config_file() | Michael Adam | 1 | -15/+14 | |
This replaces a do { ... } while (0) with break statements ba gotos. Imho, this is much clearer. Michael | |||||
2010-01-16 | Fix leak of file handle in load_config_file() | Mukund Sivaraman | 1 | -14/+21 | |
2010-01-08 | [BB#17] Add custom HTTP request headers to outgoing HTTP requests | Mukund Sivaraman | 1 | -1/+45 | |
2010-01-06 | Fix case in log message | Mukund Sivaraman | 1 | -1/+1 | |
2009-12-23 | conf: confess - add my (C) after substantial changes. | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-12-22 | conf: add a log messate ("reloading config file") | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-12-22 | conf: adapt a log message (add quotes to string value) | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-12-22 | conf: elaborate a comment | Michael Adam | 1 | -1/+4 | |
Michael | |||||
2009-12-22 | conf: change a log message (to be more reasonable?) | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-12-22 | conf: make free_config static | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-12-22 | conf: make load_config_file static. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-12-22 | conf: rename reload_config --> reload_config_file | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-12-07 | Move definition of "struct config_s" from main.h to conf.h | Michael Adam | 1 | -2/+0 | |
Michael | |||||
2009-12-07 | conf: remove direct use of config from reload_config() | Michael Adam | 1 | -1/+1 | |
The "conf" argument has to be used. Michael | |||||
2009-12-07 | conf: remove direct reference to config from load_config_file() | Michael Adam | 1 | -1/+1 | |
This has to use the parameter "conf". Michael | |||||
2009-12-07 | Add reload_config() - (re-)load the config file, keeping defaults. | Michael Adam | 1 | -0/+135 | |
This allows for later reloading the config at SIGHUP (e.g.). First the old config data is freed, then the defaults that are given as a parameter are copied over in a rather clumsy manual fashion (maybe something more clever can be done here) and finally, the actual config file is loaded. Michael | |||||
2009-12-07 | Add free_config() - free all config data. | Michael Adam | 1 | -0/+31 | |
Michael | |||||
2009-12-07 | Add connect_ports list to config struct instead of keeping extra global var. | Michael Adam | 1 | -1/+2 | |
Michael | |||||
2009-12-07 | Move handling of connect_ports list to its own source module. | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-12-07 | Add access_list to the config struct instead of a global variable in acl.c. | Michael Adam | 1 | -2/+2 | |
Change insert_acl, check_acl and flush_access_list to take a corresponding argument. Michael | |||||
2009-12-07 | Add reversepath_list parameter to reversepath_add. | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-12-07 | upstream: add upstream list parameter to upstream_add() | Michael Adam | 1 | -3/+3 | |
to abstract it from the concrete list in the config struct. Michael | |||||
2009-12-06 | move handling of upstream list to new module upstream.{c,h} | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-12-06 | conf: fix tab->spaces | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-12-06 | conf: allow set_string_arg to overwrite previous values (i.e. don't leak) | Michael Adam | 1 | -0/+4 | |
Michael | |||||
2009-11-16 | set_string_arg: Remove unneccesary check for determining the return code. | Michael Adam | 1 | -1/+1 | |
2009-11-17 | Remove excessive copying | Mukund Sivaraman | 1 | -2/+3 | |
2009-11-14 | Fix typo in log string | Mukund Sivaraman | 1 | -1/+1 | |
2009-11-14 | conf: refactor loading of config file out into load_config_file() | Michael Adam | 1 | -2/+27 | |
and make config_compile and config_parse static to conf.c Michael | |||||
2009-11-10 | conf: fix reverspath parsing: the string in the 2nd arg is actually the ↵ | Michael Adam | 1 | -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-10 | conf: make the WS optional too, before the optional 2nd argument to reversepath | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-11-10 | conf: fix ipv6 regex patterns, take three | Michael Adam | 1 | -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-09 | conf: fix the IPV6 regex patterns, take two | Michael Adam | 1 | -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-09 | conf: fix the IPV6 regex patterns | Michael Adam | 1 | -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-09 | Fix validation of IPv6 addresses | Mukund Sivaraman | 1 | -4/+27 | |
2009-10-11 | Add a boolean config option "DisableViaHeader". | Michael Adam | 1 | -0/+15 | |
2009-09-28 | conf: beautify one formatting in the directives array. | Michael Adam | 1 | -1/+2 | |
Michael | |||||
2009-09-27 | conf: make xtinyproxy BOOL in the directives array, too | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-27 | conf: turn XTinyproxy into a boolean option | Michael Adam | 1 | -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-21 | Rename conffile.[ch] to conf.[ch] | Mukund Sivaraman | 1 | -0/+759 | |