Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2002-04-28 | Fixed up the error detection code when relating the pthread functions. | Robert James Kaes | 1 | -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-26 | Changed the len type to ssize_t because we need to detect errors in the | Robert James Kaes | 1 | -0/+4 | |
recv() call. Thanks to Tom Cross for discovering this bug. | |||||
2002-04-26 | Check the return value of hashmap_first() | Robert James Kaes | 1 | -0/+3 | |
2002-04-26 | Need to check the return value of hashmap_first() since it could be | Robert James Kaes | 1 | -0/+6 | |
negative. | |||||
2002-04-25 | Check to see if request->path is actually allocated before trying to free | Robert James Kaes | 1 | -0/+2 | |
it. | |||||
2002-04-25 | Changed to the hashmap module, and to the remove_connection_headers() | Robert James Kaes | 1 | -0/+13 | |
function. | |||||
2002-04-22 | Renamed the LOCKing macros and added assert debugging code. Also, moved | Robert James Kaes | 1 | -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-22 | Added the "Bind" directive. | Robert James Kaes | 1 | -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-18 | Removed the call to inet_aton() since the gethostbyname() function handles | Robert James Kaes | 1 | -0/+4 | |
the dotted-decimal case itself. | |||||
2002-04-18 | The stats now wait until after the client has finished sending all its | Robert James Kaes | 1 | -0/+4 | |
headers before sending the HTTP response back. This should be more standards compliant. | |||||
2002-04-18 | Removed the call to hstrerror() in the getpeer_string() function. It's | Robert James Kaes | 1 | -0/+4 | |
not available on all machines. | |||||
2002-04-18 | Memory leak in the hashmap_delete() function has been fixed. | Robert James Kaes | 1 | -0/+2 | |
2002-04-18 | Changed to vector.c and hashmap.c | Robert James Kaes | 1 | -0/+4 | |
Added the debugging_strdup() function. Fixed a memory leak in get_all_headers. | |||||
2002-04-18 | Added the debuggin_strdup() function and the associated safestrdup() | Robert James Kaes | 1 | -0/+10 | |
macro. Also, added asserts to the other debugging_* functions. | |||||
2002-04-18 | Moved the filter_destroy() logic from inside the signal handler. It's now | Robert James Kaes | 1 | -0/+4 | |
been moved to inside the main() function. | |||||
2002-04-18 | Moved the log rotation code out of the signal handler and into it's own | Robert James Kaes | 1 | -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-17 | Changes to configure.ac, src/sock.c, src/reqs.c, src/acl.c, src/acl.h, | Robert James Kaes | 1 | -0/+30 | |
and src/thread.c | |||||
2002-04-16 | More spelling fixes. | Robert James Kaes | 1 | -5/+5 | |
2002-04-16 | Just general spell checking. | Robert James Kaes | 1 | -9/+9 | |
2002-04-16 | Various changes in the src/anonymous.c and src/reqs.c files. | Robert James Kaes | 1 | -0/+23 | |
2002-04-15 | Changes for chomp(), read_request_line(), and readline() | Robert James Kaes | 1 | -0/+9 | |
2002-04-15 | Changed the error boolean flag into a pointer to an error string and an | Robert James Kaes | 1 | -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-13 | Added additional error handling for the bind() and listen() system calls | Robert James Kaes | 1 | -0/+2 | |
when setting up the listening socket. | |||||
2002-04-13 | Modified the opensock() function to respect the Listen directive. If it's | Robert James Kaes | 1 | -0/+5 | |
set, bind all outgoing addresses to this local address. | |||||
2002-04-12 | Changes regarding the new ConnectPort directive. | Robert James Kaes | 1 | -0/+14 | |
2002-04-12 | Added a write_via_header() function which is now used in both header | Robert James Kaes | 1 | -1/+6 | |
processing functions. Also, added a list of headers to drop in the process server header functions. | |||||
2002-04-11 | Changes to remove_connection_headers(), relay_connection(), | Robert James Kaes | 1 | -0/+22 | |
process_client_headers(), and process_server_headeers(). Added the get_content_length() function. | |||||
2002-04-10 | Changed in src/Makefile.am | Robert James Kaes | 1 | -0/+5 | |
2002-04-10 | Bumped up the pre-version release number and removed the AC_FUNC_MEMCMP | Robert James Kaes | 1 | -0/+6 | |
macro. | |||||
2002-04-09 | More changes in the ChangeLog :) | Robert James Kaes | 1 | -0/+8 | |
2002-04-09 | James Flemer cleaned up the make_netmask() function to remove the static | Robert James Kaes | 1 | -0/+4 | |
table. Very nice. | |||||
2002-04-09 | New changes to configure.ac, hashmap.c, and vector.c | Robert James Kaes | 1 | -0/+13 | |
2002-04-09 | Added the cancelation setting to make sure the thread stops immediately. | Robert James Kaes | 1 | -0/+3 | |
2002-04-08 | Just moved the looping code from main() into thread_main_loop(). | Robert James Kaes | 1 | -0/+5 | |
2002-04-07 | Updated the changelog information. | Robert James Kaes | 1 | -0/+17 | |
2002-04-02 | Update to reflect changes to configure.ac | Robert James Kaes | 1 | -0/+6 | |
2002-01-25 | Added code to check for "errors" from the accept call in thread_main() and | Robert James Kaes | 1 | -0/+5 | |
also a new thread_kill_threads() function which should cancel all threads when the main thread is being closed. | |||||
2002-01-08 | Added code which checks to see if the user has signalled that tinyproxy | Robert James Kaes | 1 | -0/+5 | |
should be closed. | |||||
2001-12-28 | Check for errors returned by the accept() function. | Robert James Kaes | 1 | -0/+5 | |
2001-12-24 | more changes to utils.c, reqs.c, and sock.c | Robert James Kaes | 1 | -1/+12 | |
2001-12-23 | Made the error message regarding the Idle timeout more verbose, and | Robert James Kaes | 1 | -0/+4 | |
changed the level to WARNING. | |||||
2001-12-23 | Cleaned up the code which sends the "Via" header. It now uses | Robert James Kaes | 1 | -0/+5 | |
write_message(). | |||||
2001-12-23 | Fixed up the order of some of the includes to cope with OpenBSD. Also, | Robert James Kaes | 1 | -0/+7 | |
test for the MSG_NOSIGNAL define. | |||||
2001-12-19 | Removed duplicate code from process_server_headers() and removed the calls | Robert James Kaes | 1 | -0/+3 | |
to strlen(); readline() already returns the length of the string, so use that instead. | |||||
2001-12-19 | Update the reqs.c file. | Robert James Kaes | 1 | -1/+13 | |
2001-12-17 | Added the code the log the request when in tunnelling mode. | Robert James Kaes | 1 | -0/+6 | |
2001-12-17 | Updated the changelog. | Robert James Kaes | 1 | -1/+16 | |
2001-12-15 | Updates for safe_write() and anonymous section. | Robert James Kaes | 1 | -1/+11 | |
2001-12-15 | Added the lookup_domain() function which replaces the DNS caching system. | Robert James Kaes | 1 | -0/+9 | |
2001-11-26 | Updates relating to the fixes to buffering code in read_buffer(). | Robert James Kaes | 1 | -0/+3 | |