summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2000-11-23Fixed MACRO error.Robert James Kaes1-2/+2
2000-11-23Fixed spelling mistake.Robert James Kaes1-2/+2
2000-11-23Changed the filter_host command to filter_url.Robert James Kaes3-6/+6
2000-10-23In the Key Found code, don't display the string in the debug code since itRobert James Kaes1-2/+2
doesn't exist anymore when we display it. Doh!
2000-10-23Added the initialization section for the DNS and Anonymous sub systems.Robert James Kaes1-1/+15
2000-10-23Added the new_anonymous initialize routineRobert James Kaes2-7/+9
2000-10-23Added the new_dnscache routine to initialize the Ternary tree. Also,Robert James Kaes2-17/+10
removed the garbage collection routine.
2000-09-26Fixed the insert function to handle a failed insert properly.Robert James Kaes1-2/+3
2000-09-26Added the TE_EXISTS return code, and cleaned up the ternary_destroyRobert James Kaes2-35/+22
function.
2000-09-26Moved the safefree() macro to the tinyproxy.h header.Robert James Kaes2-4/+8
2000-09-26Updated the free() calls to the safefree() calls.Robert James Kaes2-6/+6
2000-09-21There is no LOG_EMERG level, so changed to LOG_CRIT.Robert James Kaes1-5/+5
2000-09-21Added the LOG_NOTICE level.Robert James Kaes2-3/+9
2000-09-15These are generated by grammar.y and scanner.l respectively, don't includeRobert James Kaes3-2891/+0
them in the CVS.
2000-09-15Automatically generated file.Robert James Kaes1-1/+0
2000-09-15Don't include automatically generated files.Robert James Kaes1-364/+0
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-12Again, needed for configure script. Automatically built by ./reconfRobert James Kaes1-0/+364
2000-09-12These all handle reading the tinyproxy configuration file.Robert James Kaes5-0/+3193
2000-09-12Generalized the ternary code which was already being used in anonymous.*Robert James Kaes2-0/+476
now it can be used (and is used) in both anonymous and dnscache
2000-09-12Improvied access control semantics. Allows for a finger control forRobert James Kaes2-0/+240
allowing and denying hosts.
2000-09-12tinyproxy now uses a pool of threads to handle connections. All the workRobert James Kaes2-0/+250
for creating new threads, deleting old thread, and generally managing the pool is done here.
2000-09-12This module handles the various stats relating to tinyproxy'sRobert James Kaes2-0/+165
funcationality.
2000-09-12MAJOR RE-WRITE! Read the ChangeLog and look at the source. It's shorterRobert James Kaes2-630/+449
than redocumenting the changes here. :)
2000-09-12Fixed the change user/group ability.Robert James Kaes2-376/+246
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-09-12Removed the xmalloc() and xstrdup() functions.Robert James Kaes2-189/+199
Added the pidfile_create() function. Added the OpenBSD style strlcat() and strlcpy() functions.
2000-09-11Switched to the new logging style and replaced the xmalloc() with straightRobert James Kaes2-19/+12
malloc().
2000-09-11Needed locking in getpeer_string().Robert James Kaes2-294/+112
Added mutex locking around the dnscache() call. Removed the global sockaddr and setup_fd variables. Added the socket_blocking() and socket_nonblocking() functions. Gutted the readling() function and replaced it with something similar to the 1.0 version. :)
2000-09-11Moved back to the <config.h> for autoconf defines.Robert James Kaes1-1/+10
2000-09-11Cleaned up the logging format, and also included logging levels (which areRobert James Kaes2-39/+97
similar to the syslogd format.)
2000-09-11Not using <defines.h> for autoconf anymore, so move back to the <config.h>Robert James Kaes1-1/+1
format.
2000-09-11Just using standard malloc() since the xmalloc() didn't really addRobert James Kaes2-28/+13
anything useful to the command.
2000-09-11Removed the custom hash routines. Using the ternary module instead.Robert James Kaes2-140/+38
2000-09-11Cleaned up the source so that the internal structure is no exposed by theRobert James Kaes2-183/+89
buffer.h header.
2000-09-11Removed the ternary tree code from these files and made it a separateRobert James Kaes2-47/+17
module.
2000-09-11Modified to include all the files needed to build tinyproxy, plus theRobert James Kaes1-3/+30
special targets for building the LEX and YACC files. (Also included the GNU license.)
2000-09-11These files are no longer used within tinyproxy.Robert James Kaes3-318/+0
2000-04-26Reorganized (or added) the #include <sys/types.h> line so tinyproxy wouldRobert James Kaes2-3/+4
compile cleanly on FreeBSD systems.
2000-03-31Fixed a bug with the path in clientreq. If the path was empty it caused aRobert James Kaes1-5/+9
malformed request to be sent.
2000-03-31Added a line for the anonymous.* files.Robert James Kaes1-0/+1
2000-03-31Changed the socket time out to 10 secs.Robert James Kaes1-2/+2
2000-03-31Updated the anonheader function to use the new anonymous API. Removed theRobert James Kaes1-28/+18
hack for the POST method in clientreq.
2000-03-31Completely rewrote the readline function.Robert James Kaes1-39/+79
2000-03-31Added the working_* fields as a scratch pad for readline().Robert James Kaes2-2/+11
2000-03-31Removed the allowedhdr_s structure since it is now accessed throughRobert James Kaes2-42/+16
anonymous.*
2000-03-31Moved the anonymous header code into it's own file to make it easier toRobert James Kaes2-0/+102
update.
2000-03-29Included the <sys/types.h> header.Robert James Kaes1-1/+2
2000-03-29Fixed a bug with the clientreq function which was incorrectly setting theRobert James Kaes1-2/+4
clientheader flag and causing _all_ headers to be sent even in anonymous mode.
2000-03-28Fixed another NULL bug with the uri->authority. If an badly formed requestRobert James Kaes1-1/+6
was made in the form of http:\\www.somewhere.com/ tinyproxy would SEGV. This has been corrected.
2000-03-28Fixed a NULL pointer bug in clientreq. If the SCHEME in the URL was NULLRobert James Kaes1-5/+12
the program would SEGV. This was caused by the error logging code.