rofl0r
bffa705005
remove config file name item from conf struct
...
since this is set via command line, we can deal with it easily
from where it is actually needed.
2020-01-15 15:42:24 +00:00
rofl0r
180c0664aa
remove godaemon member from config structure
...
since this option can't be set via config file, it makes sense
to factor it out and use it only where strictly needed, e.g. in
startup code.
2020-01-15 15:26:40 +00:00
rofl0r
eb2104e1ff
log: remove special case code for daemonized mode without logfile
...
if daemon mode is used and neither logfile nor syslog options specified,
this is clearly a misconfiguration issue. don't try to be smart and work
around that, so less global state information is required.
also, this case is already checked for in main.c:334.
2020-01-15 15:22:43 +00:00
rofl0r
4fb2c14039
syslog: always use LOG_USER facility
...
LOG_DAEMON isn't specified in POSIX and the gratuitously different
treatment is in the way of a planned cleanup.
2020-01-15 15:09:37 +00:00
rofl0r
40afaeb637
move commandline parsing to main()
2020-01-15 14:45:23 +00:00
rofl0r
25205fd1f3
move initialize_config_defaults to conf.c
2020-01-15 14:17:13 +00:00
rofl0r
3a7aa15834
start work on 1.11.x
2019-12-21 00:43:45 +00:00
rofl0r
734ba1d970
fix usage of stathost in combination with basic auth
...
http protocol requires different treatment of proxy auth vs server auth.
fixes #246
2019-06-14 01:18:19 +01:00
rofl0r
b131f45cbb
child.c: properly initialize fdset for each select() call ( #216 )
...
it was reported that because the fdset was only initialized once,
tinyproxy would fail to properly listen on more than one interface.
closes #214
closes #127
2018-12-15 17:09:04 +00:00