summaryrefslogtreecommitdiff
path: root/src/tinyproxy.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2002-11-26Included code to disable the sending of the Via header. This is nowRobert James Kaes1-1/+3
controlled by the ViaHeader configure directive.
2002-11-03Removed all the code supporting the TCP tunnelling feature ofRobert James Kaes1-5/+1
tinyproxy. There is really no need for this code, since there are perfectly good programs out there (like rinetd) which are designed for TCP tunnelling. tinyproxy should be a good HTTP proxy, nothing more, and nothing less; therefore, the tunnelling code is gone.
2002-06-15Removed the "logf" FILE structure from the config structure, and also ↵Robert James Kaes1-3/+2
renamed the "log_rotation_request" boolean to "received_sighup".
2002-05-27Added into the config structure the filter_urls and filter_extended flags.Robert James Kaes1-1/+3
2002-05-23Moved all the system header includes into the common.h file.Robert James Kaes1-164/+5
2002-04-24Moved bind_address inside the config structure.Robert James Kaes1-3/+2
2002-04-22The log_message() function now stores the messages if the configurationRobert James Kaes1-1/+3
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-18Moved the log rotation code out of the signal handler and into it's ownRobert James Kaes1-2/+3
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-09The malloc/free functions should be in stdlib.h, but if we can't findRobert James Kaes1-4/+5
stdlib.h then try including malloc.h. Maybe this will allow clean compiling on some platforms.
2001-12-28Removed an unused header.Robert James Kaes1-4/+1
2001-12-23Add a pre-processor test around the sys/types.h header file, to make sureRobert James Kaes1-1/+3
it's available before we try to include it.
2001-12-23Fixed up the order of some of the includes to cope with OpenBSD. Also,Robert James Kaes1-4/+12
test for the MSG_NOSIGNAL define.
2001-11-26Added support for the <pthreads.h> header.Robert James Kaes1-1/+5
2001-11-26Increased the maximum buffer size to 96 KBRobert James Kaes1-2/+2
2001-11-25Added tests for _every_ header to make sure they are actually present onRobert James Kaes1-27/+108
the system.
2001-11-22Reformated text.Robert James Kaes1-2/+2
2001-10-25Header reorganization. Basically all system headers are now included inRobert James Kaes1-2/+12
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file.
2001-10-25Some code clean up due to the creation of the conns.{c,h} files which nowRobert James Kaes1-10/+1
store the creation/destruction and definition of the connection structure.
2001-10-25Added the upstream flag to the conn_s structure.Robert James Kaes1-1/+2
2001-09-16Added the configure variables to support the upstream proxy.Robert James Kaes1-2/+6
2001-09-14Include the SSL field in the connection structure since we're going toRobert James Kaes1-1/+2
handle SSL connections.
2001-09-08Changed all the mallocs and callocs to use the new safemalloc andRobert James Kaes1-3/+1
safecalloc.
2001-08-29Text clean up.Robert James Kaes1-2/+2
2001-08-27Moved some of the includes around so that FreeBSD can compile correctly.Robert James Kaes1-3/+3
2001-08-26Removed the config.anonymous entry since we've moved the information intoRobert James Kaes1-2/+2
anonymous.c file.
2001-06-06Fixed the include order to better handle the sys/time.h and time.hRobert James Kaes1-3/+11
headers.
2001-06-02Fixed up the names of the DEFINES.Robert James Kaes1-4/+4
2001-05-27Added code to stop the creation of core files.Robert James Kaes1-2/+2
Changed all references to log() to log_message().
2001-05-23Made the safefree() macro enabled all the time.Robert James Kaes1-7/+4
2000-09-26Moved the safefree() macro to the tinyproxy.h header.Robert James Kaes1-1/+7
2000-09-14Need to do a check for the <stdint.h> header since it's not a standardRobert James Kaes1-2/+4
header available on all systems.
2000-09-12Fixed the change user/group ability.Robert James Kaes1-39/+65
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 Kaes1-7/+1
anonymous.*
2000-03-11Included the changes needed to re-add the upstream proxy option.Robert James Kaes1-1/+5
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young1-0/+87
which included commits to RCS files with non-trunk default branches.