summaryrefslogtreecommitdiff
path: root/ChangeLog (follow)
AgeCommit message (Collapse)AuthorFilesLines
2002-05-14Moved the definition of the struct buffer_s into the buffer.c file and outRobert James Kaes1-0/+4
of the buffer.h file. This also required the removal of the BUFFER_SIZE macro, and replace it with the buffer_size() function.
2002-05-13Added a "tail" pointer to the vector to make insertions more efficient.Robert James Kaes1-0/+3
2002-05-13Thanks to Justin Guyett for making the hashmap_insert() function use aRobert James Kaes1-0/+2
constant time insert. Explanation: new enteries are added to the _front_ of the chain, rather than search to the end.
2002-05-13Fixed up a potential SEGFAULT if memory for an entry could not beRobert James Kaes1-0/+8
allocated. Also, thanks to Justin Guyett for finding a problem the hashmap_remove() function. There was a problem where an entry's "prev" pointer could be pointing to freed memory. Finally, renamed all "maps" to bucket to make the source more understandable.
2002-05-10Fixed up the installation of the tinyproxy.conf file. The file is onlyRobert James Kaes1-0/+6
installed if it doesn't already exist (rather than giving a make error.)
2002-05-08--with-config now supports absolute paths as per James Flemer's request.Robert James Kaes1-0/+6
2002-05-08Removed the request logging in the tunnel because it breaks the tunnelRobert James Kaes1-0/+5
concept since it blocks waiting for information from the client before any data from the remote is relayed.
2002-05-02Added code to figure out and install the configuration file.Robert James Kaes1-0/+9
2002-04-29Added the reason why servers_waiting needs to be a signed integer.Robert James Kaes1-0/+4
2002-04-28Added more error checking in process_client_headers() andRobert James Kaes1-0/+9
process_server_headers() functions. Also, better reporting of errors back to the client.
2002-04-28Fixed up the error detection code when relating the pthread functions.Robert James Kaes1-0/+12
They return 0 if OK, and a positive error code. Cleaned up the status setting code in thread_main(). Thanks to Hans-Georg Bork for fixing the problem in thread_pool_create() where the status wasn't set early enough to allow all the threads to be created. Added additional logging information to let the admin know what is happening with the thread creation.
2002-04-26Changed the len type to ssize_t because we need to detect errors in theRobert James Kaes1-0/+4
recv() call. Thanks to Tom Cross for discovering this bug.
2002-04-26Check the return value of hashmap_first()Robert James Kaes1-0/+3
2002-04-26Need to check the return value of hashmap_first() since it could beRobert James Kaes1-0/+6
negative.
2002-04-25Check to see if request->path is actually allocated before trying to freeRobert James Kaes1-0/+2
it.
2002-04-25Changed to the hashmap module, and to the remove_connection_headers()Robert James Kaes1-0/+13
function.
2002-04-22Renamed the LOCKing macros and added assert debugging code. Also, movedRobert James Kaes1-0/+6
the mutex initialization into a function call so that I can use an error checking mutex once I figure out how to get it to work on my computer.
2002-04-22Added the "Bind" directive.Robert James Kaes1-0/+17
Fixed up the log_message function to store messages until the log file has been created. "Proxy-Connection" is not sent along to the remote message.
2002-04-18Removed the call to inet_aton() since the gethostbyname() function handlesRobert James Kaes1-0/+4
the dotted-decimal case itself.
2002-04-18The stats now wait until after the client has finished sending all itsRobert James Kaes1-0/+4
headers before sending the HTTP response back. This should be more standards compliant.
2002-04-18Removed the call to hstrerror() in the getpeer_string() function. It'sRobert James Kaes1-0/+4
not available on all machines.
2002-04-18Memory leak in the hashmap_delete() function has been fixed.Robert James Kaes1-0/+2
2002-04-18Changed to vector.c and hashmap.cRobert James Kaes1-0/+4
Added the debugging_strdup() function. Fixed a memory leak in get_all_headers.
2002-04-18Added the debuggin_strdup() function and the associated safestrdup()Robert James Kaes1-0/+10
macro. Also, added asserts to the other debugging_* functions.
2002-04-18Moved the filter_destroy() logic from inside the signal handler. It's nowRobert James Kaes1-0/+4
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 Kaes1-0/+9
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-17Changes to configure.ac, src/sock.c, src/reqs.c, src/acl.c, src/acl.h,Robert James Kaes1-0/+30
and src/thread.c
2002-04-16More spelling fixes.Robert James Kaes1-5/+5
2002-04-16Just general spell checking.Robert James Kaes1-9/+9
2002-04-16Various changes in the src/anonymous.c and src/reqs.c files.Robert James Kaes1-0/+23
2002-04-15Changes for chomp(), read_request_line(), and readline()Robert James Kaes1-0/+9
2002-04-15Changed the error boolean flag into a pointer to an error string and anRobert James Kaes1-0/+11
error code. We're storing this information because tinyproxy doesn't output the error information until _after_ the client has sent it's information.
2002-04-13Added additional error handling for the bind() and listen() system callsRobert James Kaes1-0/+2
when setting up the listening socket.
2002-04-13Modified the opensock() function to respect the Listen directive. If it'sRobert James Kaes1-0/+5
set, bind all outgoing addresses to this local address.
2002-04-12Changes regarding the new ConnectPort directive.Robert James Kaes1-0/+14
2002-04-12Added a write_via_header() function which is now used in both headerRobert James Kaes1-1/+6
processing functions. Also, added a list of headers to drop in the process server header functions.
2002-04-11Changes to remove_connection_headers(), relay_connection(),Robert James Kaes1-0/+22
process_client_headers(), and process_server_headeers(). Added the get_content_length() function.
2002-04-10Changed in src/Makefile.amRobert James Kaes1-0/+5
2002-04-10Bumped up the pre-version release number and removed the AC_FUNC_MEMCMPRobert James Kaes1-0/+6
macro.
2002-04-09More changes in the ChangeLog :)Robert James Kaes1-0/+8
2002-04-09James Flemer cleaned up the make_netmask() function to remove the staticRobert James Kaes1-0/+4
table. Very nice.
2002-04-09New changes to configure.ac, hashmap.c, and vector.cRobert James Kaes1-0/+13
2002-04-09Added the cancelation setting to make sure the thread stops immediately.Robert James Kaes1-0/+3
2002-04-08Just moved the looping code from main() into thread_main_loop().Robert James Kaes1-0/+5
2002-04-07Updated the changelog information.Robert James Kaes1-0/+17
2002-04-02Update to reflect changes to configure.acRobert James Kaes1-0/+6
2002-01-25Added code to check for "errors" from the accept call in thread_main() andRobert James Kaes1-0/+5
also a new thread_kill_threads() function which should cancel all threads when the main thread is being closed.
2002-01-08Added code which checks to see if the user has signalled that tinyproxyRobert James Kaes1-0/+5
should be closed.
2001-12-28Check for errors returned by the accept() function.Robert James Kaes1-0/+5
2001-12-24more changes to utils.c, reqs.c, and sock.cRobert James Kaes1-1/+12