summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Expand)AuthorFilesLines
2002-04-17Changed the check_acl() function to require the peer IP address and stringRobert James Kaes2-13/+7
2002-04-16Removed the duplicate calls to strlen().Robert James Kaes1-5/+4
2002-04-16Tightened the lookup_domain() function.Robert James Kaes1-3/+2
2002-04-16Various code clean up. There is nothing new here, just mechanical changesRobert James Kaes1-67/+43
2002-04-16Cleaned up the return values of the two anonymous functions to make theRobert James Kaes1-9/+7
2002-04-15Added a test to make sure the "whole_buffer" could be allocated.Robert James Kaes1-3/+5
2002-04-15Changed the variable type in read_request_line() to an unsigned variableRobert James Kaes1-2/+2
2002-04-15Added an assert() call to detect design errors.Robert James Kaes1-2/+6
2002-04-15Changed the error boolean flag into a pointer to an error string and anRobert James Kaes5-28/+54
2002-04-13Added additional error handling for the bind() and listen() system callsRobert James Kaes1-3/+11
2002-04-13Modified the opensock() function to respect the Listen directive. If it'sRobert James Kaes1-1/+17
2002-04-12Added code to support the new ConnectPort directive which is needed toRobert James Kaes2-2/+74
2002-04-12Added the support code to process a ConnectPort configuration directive.Robert James Kaes2-2/+6
2002-04-12Added a write_via_header() function which is now used in both headerRobert James Kaes1-40/+67
2002-04-11Did a bit of consolidation by moving code into remove_connection_headers()Robert James Kaes1-37/+106
2002-04-11Added the remote_content_length variable to store the number of bytes theRobert James Kaes2-2/+7
2002-04-10Removed the dependency on LIBOBJS and instead use the ADDITIONAL_OBJECTSRobert James Kaes1-7/+5
2002-04-10Added an extra new line at the end of the file to quiet picky compilers.Robert James Kaes1-2/+2
2002-04-09The malloc/free functions should be in stdlib.h, but if we can't findRobert James Kaes1-4/+5
2002-04-09Removed the compare_header() function since it's been replaced by a callRobert James Kaes1-15/+7
2002-04-09Added more include logic code to be more portable.Robert James Kaes1-2/+7
2002-04-09Replaced the internally used linked list with a call to the hashmapRobert James Kaes1-58/+23
2002-04-09James Flemer cleaned up the make_netmask() function to remove the staticRobert James Kaes1-15/+3
2002-04-09Cleaned up the include lines to be slightly more portable (I hope.)Robert James Kaes2-5/+6
2002-04-09Added the cancelation setting to make sure the thread stops immediately.Robert James Kaes1-1/+4
2002-04-08Just moved the looping code from main() into thread_main_loop().Robert James Kaes2-21/+28
2002-04-07Just a variable name change to make it easier to read.Robert James Kaes1-2/+2
2002-04-07Updated the copyright notice.Robert James Kaes1-2/+2
2002-04-07A _tonne_ of changes. It would almost be easier to just read the sourceRobert James Kaes1-163/+228
2002-04-07Update the list of source code files to include the vector and hashmapRobert James Kaes1-6/+8
2002-04-07Cleaned up some of the code to handle errors better. Also, a little bitRobert James Kaes2-10/+56
2002-04-07A hashmap implementation. I use this for storing the headers from theRobert James Kaes2-0/+491
2002-04-07Added the vector module which is a vector implementation. I use it in theRobert James Kaes2-0/+276
2002-04-02Added define check for XTINYPROXY_ENABLE. Although, I'm not sure if thisRobert James Kaes1-2/+9
2002-01-25Added code to check for "errors" from the accept call in thread_main() andRobert James Kaes3-3/+28
2002-01-08Added code which checks to see if the user has signalled that tinyproxyRobert James Kaes1-8/+13
2001-12-28Removed an unused header.Robert James Kaes1-4/+1
2001-12-28Check for errors returned by the accept() function.Robert James Kaes1-1/+10
2001-12-24Changed send_http_message() to use the write_message() function.Robert James Kaes1-34/+49
2001-12-24Added the write_message() function (from reqs.c)Robert James Kaes2-2/+55
2001-12-24Moved write_message() into sock.c because I'm using it in other places.Robert James Kaes1-53/+1
2001-12-23Made the error message regarding the Idle timeout more verbose, andRobert James Kaes1-2/+2
2001-12-23Cleaned up the code which sends the "Via" header. It now usesRobert James Kaes1-29/+24
2001-12-23Add a pre-processor test around the sys/types.h header file, to make sureRobert James Kaes1-1/+3
2001-12-23Fixed up the order of some of the includes to cope with OpenBSD. Also,Robert James Kaes1-4/+12
2001-12-20Updated the copyright notice.Robert James Kaes1-3/+3
2001-12-20Created the CHECK_CRLF() macro to handle the tests for the appropriateRobert James Kaes1-6/+8
2001-12-19Changed the calls to write() to send() so that we can use send(...,Robert James Kaes2-4/+4
2001-12-19Removed duplicate code from process_server_headers() and removed the callsRobert James Kaes1-12/+9
2001-12-19Damn---removed the debugging code from write_message().Robert James Kaes1-3/+1