summaryrefslogtreecommitdiffhomepage
path: root/src/tinyproxy.c
AgeCommit message (Collapse)Author
2002-04-24Moved bind_address inside the config structure.Robert James Kaes
2002-04-22The log_message() function now stores the messages if the configurationRobert James Kaes
file has not been read yet. The reason for this is that we don't know where to log the messgaes until _after_ the config file has been processed.
2002-04-18Changed all calls to strdup to safestrdup. This should provide betterRobert James Kaes
memory usage tracking.
2002-04-18Moved the filter_destroy() logic from inside the signal handler. It's nowRobert James Kaes
been moved to inside the main() function.
2002-04-18Moved the log rotation code out of the signal handler and into it's ownRobert James Kaes
function. The signal handler now simply sets a flag which is monitored inside the thread_main_loop() function. The log rotation code has also been tightened to handle any error conditions better. Credit to Petr Lampa for suggesting that system functions inside of a signal handler is bad magic.
2002-04-08Just moved the looping code from main() into thread_main_loop().Robert James Kaes
2002-04-07Updated the copyright notice.Robert James Kaes
2002-01-25Added code to check for "errors" from the accept call in thread_main() andRobert James Kaes
also a new thread_kill_threads() function which should cancel all threads when the main thread is being closed.
2001-12-23Made the error message regarding the Idle timeout more verbose, andRobert James Kaes
changed the level to WARNING.
2001-12-15Removed the include "dnscache.h" header file.Robert James Kaes
2001-11-22Reformated text.Robert James Kaes
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file.
2001-09-16Added a check to make sure the Upstream and Tunnel directives are not bothRobert James Kaes
set in the configuration file.
2001-09-16Fixed a problem where log messages could be missed during a rotate.Robert James Kaes
2001-09-15Changed to rotating the log file instead of truncating it. Also using theRobert James Kaes
create_file_safely() function to eliminate potential security problems.
2001-09-07Error message cleanup.Robert James Kaes
2001-08-29Removed the new_dnscache() call.Robert James Kaes
2001-08-26Renamed versiondisp() to display_version() and added the PACKAGE, VERSION,Robert James Kaes
and TARGET_SYSTEM into the version list. Also moved the license into a separate function. Renamed usagedisp() to display_usage(). Fixed a problem where the anonymous search tree was being created _after_ it was being accessed.
2001-06-04Removed the DEFAULT_LOG, DEFAULT_PORT, and DEFAULT_USER directives sinceRobert James Kaes
these MUST be set in the configuration file.
2001-06-02LOG_EMERG doesn't exist anymore, so replace it with LOG_CRIT.Robert James Kaes
2001-05-27Added code to stop the creation of core files.Robert James Kaes
Changed all references to log() to log_message().
2000-12-08Fixed a problem with polling for the number of active threads. No longerRobert James Kaes
polls. :)
2000-11-23Fixed spelling mistake.Robert James Kaes
2000-10-23Added the initialization section for the DNS and Anonymous sub systems.Robert James Kaes
2000-09-21There is no LOG_EMERG level, so changed to LOG_CRIT.Robert James Kaes
2000-09-12Fixed the change user/group ability.Robert James Kaes
Log when tinyproxy is using default values rather than specific ones. Cleaned up the command line arguments since tinyproxy now uses a configuration file. Removed the USR1 signal and added the thread creation code.
2000-03-31Removed the allowedhdr_s structure since it is now accessed throughRobert James Kaes
anonymous.*
2000-03-11Included the changes needed to re-add the upstream proxy option.Robert James Kaes
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young
which included commits to RCS files with non-trunk default branches.