summaryrefslogtreecommitdiff
path: root/ChangeLog (follow)
AgeCommit message (Collapse)AuthorFilesLines
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
2001-12-23Made the error message regarding the Idle timeout more verbose, andRobert James Kaes1-0/+4
changed the level to WARNING.
2001-12-23Cleaned up the code which sends the "Via" header. It now usesRobert James Kaes1-0/+5
write_message().
2001-12-23Fixed up the order of some of the includes to cope with OpenBSD. Also,Robert James Kaes1-0/+7
test for the MSG_NOSIGNAL define.
2001-12-19Removed duplicate code from process_server_headers() and removed the callsRobert James Kaes1-0/+3
to strlen(); readline() already returns the length of the string, so use that instead.
2001-12-19Update the reqs.c file.Robert James Kaes1-1/+13
2001-12-17Added the code the log the request when in tunnelling mode.Robert James Kaes1-0/+6
2001-12-17Updated the changelog.Robert James Kaes1-1/+16
2001-12-15Updates for safe_write() and anonymous section.Robert James Kaes1-1/+11
2001-12-15Added the lookup_domain() function which replaces the DNS caching system.Robert James Kaes1-0/+9
2001-11-26Updates relating to the fixes to buffering code in read_buffer().Robert James Kaes1-0/+3