Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-12-23 | enhance reload_config to correctly re-initialize the logging subsystem. | Michael Adam | 1 | -0/+9 | |
This includes reopening the log file (in append mode). Also switching from syslog to logfile and visa versa are included when called from the SIGHUP handler. Michael | |||||
2009-12-23 | main: remove global bool processed_config_file. | Michael Adam | 1 | -3/+0 | |
This seemed out of place. Now the information is stored in the correct places (as log.c:logging_initialized). This way, we will be able to cleanly re-initialize logging during config reload (SIGHUP) in subsequent commits. Michael | |||||
2009-12-23 | log: call send_stored_logs in setup_logging instead of in main(). | Michael Adam | 1 | -1/+0 | |
This is where it actually belongs. Michael | |||||
2009-12-22 | main: add convenience wrapper reload_config() for reload_config_file() | Michael Adam | 1 | -0/+13 | |
Michael | |||||
2009-12-22 | conf: rename reload_config --> reload_config_file | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-12-07 | Use reload_config() in main. | Michael Adam | 1 | -24/+5 | |
Michael | |||||
2009-12-07 | main: Move setup_logging to after the config post-processing checks. | Michael Adam | 1 | -8/+8 | |
Michael | |||||
2009-12-07 | Don't make config_file const in the config struct. | Michael Adam | 1 | -1/+8 | |
Michael | |||||
2009-12-06 | main/conf: add maxidletimeout to initialize_config_defaults | Michael Adam | 1 | -0/+1 | |
But keep the resetting check after processing the conf file. Michael | |||||
2009-12-06 | main: fix tab -> spaces | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-12-06 | conf: move setting of default stathost to initialize_config_defaults() | Michael Adam | 1 | -6/+1 | |
Michael | |||||
2009-12-06 | main: use safestrdup instead of strdup in process_cmdline | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-11-14 | conf: refactor loading of config file out into load_config_file() | Michael Adam | 1 | -14/+2 | |
and make config_compile and config_parse static to conf.c Michael | |||||
2009-11-14 | main: add a config struct argument to process_cmdline. | Michael Adam | 1 | -5/+5 | |
Michael | |||||
2009-11-14 | main: put initialization of config defaults into a function of its own | Michael Adam | 1 | -9/+14 | |
Michael | |||||
2009-11-14 | extract setup of the logging subsystem into a function of its own. | Michael Adam | 1 | -17/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-11-14 | main: move initialization of default config values closer together | Michael Adam | 1 | -5/+4 | |
Michael | |||||
2009-10-25 | Change child_kill_children() to take the signal as an argument. | Michael Adam | 1 | -1/+1 | |
2009-10-07 | add muks' and my (C) to the main.c boilerplate comment. | Michael Adam | 1 | -0/+3 | |
Michael | |||||
2009-10-07 | main: add muks and me to the license output (tinyproxy -l) | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-09-27 | Modify usage help text shown when Tinyproxy is run with -h | Mukund Sivaraman | 1 | -7/+26 | |
2009-09-27 | strdup() the default stathost in config struct as it can be freed | Mukund Sivaraman | 1 | -1/+1 | |
2009-09-21 | Rename conffile.[ch] to conf.[ch] | Mukund Sivaraman | 1 | -1/+1 | |
2009-09-20 | build: Remove use of the obsolete AC_TYPE_SIGNAL macro | Mukund Sivaraman | 1 | -1/+1 | |
C89 compilers use void return type for signal handler functions. | |||||
2009-09-20 | build: Rename autoconf variable | Mukund Sivaraman | 1 | -2/+2 | |
2009-09-20 | Remove the target system information when the version is displayed | Mukund Sivaraman | 1 | -1/+1 | |
If we require information about the runtime environment, it can be found using the uname program. And binutils can tell about what the tinyproxy binary contains. Tinyproxy doesn't have to report this information. | |||||
2009-09-20 | Remove ability to change the name of the default configuration file | Mukund Sivaraman | 1 | -1/+1 | |
This feature will only confuse us during support, if users come to us with a Tinyproxy build which has a differently named default config file. This feature is not that useful anyway. | |||||
2009-09-15 | Make takesig() into a static function | Mukund Sivaraman | 1 | -3/+1 | |
2009-09-15 | Minor indenting changes | Mukund Sivaraman | 1 | -46/+38 | |
Also changed the text "configuration file" to read "config file". | |||||
2009-09-15 | Return instead of exit() at end of main() | Mukund Sivaraman | 1 | -1/+1 | |
2009-09-15 | Minor indenting changes | Mukund Sivaraman | 1 | -5/+10 | |
2009-09-15 | Exit with proper status in case of bad commandline arguments | Mukund Sivaraman | 1 | -1/+4 | |
2009-09-15 | Add doc for change_user() | Mukund Sivaraman | 1 | -0/+8 | |
2009-09-15 | Return correct error status when setuid() or setgid() fails | Mukund Sivaraman | 1 | -2/+2 | |
2009-09-15 | Extract setuid/setgid code into a function | Mukund Sivaraman | 1 | -53/+62 | |
2009-09-15 | Extract cmdline parsing code into a function | Mukund Sivaraman | 1 | -22/+37 | |
2009-09-15 | Remove unused variable | Mukund Sivaraman | 1 | -1/+0 | |
2009-09-15 | Indent code to Tinyproxy coding style | Mukund Sivaraman | 1 | -338/+306 | |
The modified files were indented with GNU indent using the following command: indent -npro -kr -i8 -ts8 -sob -l80 -ss -cs -cp1 -bs -nlps -nprs -pcs \ -saf -sai -saw -sc -cdw -ce -nut -il0 No other changes of any sort were made. | |||||
2009-08-07 | Rename tinyproxy.[ch] to main.[ch] | Mukund Sivaraman | 1 | -0/+476 | |