Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2003-03-14 | (send_http_message): Changed the function to use the new http_message | Robert James Kaes | 1 | -31/+20 | |
API. | |||||
2003-03-13 | Moved the send_http_error_message() and indicate_http_error() | Robert James Kaes | 1 | -70/+1 | |
functions into the htmlerror.c file, and recoded them to use the new variable substitution system. [Steven Young] | |||||
2002-12-04 | Removed the "bool_t" type since it conflicts with the newer C standards. | Robert James Kaes | 1 | -2/+2 | |
The type was just replaced by "unsigned int" types. | |||||
2002-11-21 | (create_file_safely): Rather than exiting the program if there is an | Robert James Kaes | 1 | -10/+11 | |
error, a negative "error code" is returned to the program. The various callers then need to decide what to do. (pidfile_create): Returns an error status depending on whether the PID file was created successfully. | |||||
2002-07-09 | (create_file_safely): | Robert James Kaes | 1 | -29/+29 | |
(pidfile_create): Changed all the error logging to write to standard error and then exit the program. This will prevent segmentation fault problems from occurring because the log file could not be created properly. | |||||
2002-06-15 | Removed the rotate_log_files() function since I'm moving to an Apache style ↵ | Robert James Kaes | 1 | -69/+1 | |
where the _user_ needs to move the log file themselves, and tinyproxy will continue to write to the original name. This allows more flexibility for users to determine their own log rotation scheme. | |||||
2002-05-31 | (create_file_safely): Added the "truncate_file" boolean flag. This is ↵ | Robert James Kaes | 1 | -11/+23 | |
needed since I use this function for both the log file and the pid file, and they behave differently when tinyproxy is started. (pidfile_create): Call create_file_safely() with a TRUE "truncate_file" flag so that the file is emptied whenever the pid file is needed. | |||||
2002-05-24 | Fixed a tonne of spelling mistakes. | Robert James Kaes | 1 | -2/+2 | |
2002-05-23 | Moved most of the function into separate files: the heap debugging | Robert James Kaes | 1 | -172/+3 | |
functions are in "heap.c"; the daemon functions are in "daemon.c"; and, the string/text functions are in "text.c". | |||||
2002-04-28 | Check the return value of the write_message() function. | Robert James Kaes | 1 | -5/+6 | |
2002-04-18 | Changed all calls to strdup to safestrdup. This should provide better | Robert James Kaes | 1 | -2/+2 | |
memory usage tracking. | |||||
2002-04-18 | Added the debuggin_strdup() function and the associated safestrdup() | Robert James Kaes | 1 | -4/+38 | |
macro. Also, added asserts to the other debugging_* functions. | |||||
2002-04-18 | Moved the log rotation code out of the signal handler and into it's own | Robert James Kaes | 1 | -1/+70 | |
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-16 | Removed the duplicate calls to strlen(). | Robert James Kaes | 1 | -5/+4 | |
2002-04-15 | Added an assert() call to detect design errors. | Robert James Kaes | 1 | -2/+6 | |
2002-04-15 | Changed the error boolean flag into a pointer to an error string and an | Robert James Kaes | 1 | -6/+21 | |
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-07 | Just a variable name change to make it easier to read. | Robert James Kaes | 1 | -2/+2 | |
2001-12-24 | Changed send_http_message() to use the write_message() function. | Robert James Kaes | 1 | -34/+49 | |
Changed httperr() to use the same concept as the write_message() function. Still haven't figured out how to combine the code. | |||||
2001-12-20 | Updated the copyright notice. | Robert James Kaes | 1 | -3/+3 | |
2001-11-25 | send_message changed to send_response_message in the conn_s structure. | Robert James Kaes | 1 | -2/+2 | |
2001-11-23 | Added the chomp() function (to replace the trim() function reqs.c) | Robert James Kaes | 1 | -1/+26 | |
2001-11-22 | Reformated text. | Robert James Kaes | 1 | -45/+69 | |
2001-10-25 | Header reorganization. Basically all system headers are now included in | Robert James Kaes | 1 | -5/+1 | |
tinyproxy.h and all the other files include the tinyproxy.h header. This moves all the dependancy issues into one file. | |||||
2001-10-25 | Some code clean up due to the creation of the conns.{c,h} files which now | Robert James Kaes | 1 | -1/+2 | |
store the creation/destruction and definition of the connection structure. | |||||
2001-10-24 | Error message cleanup to make the information more informative. | Robert James Kaes | 1 | -8/+8 | |
2001-09-16 | send_http_message() doesn't create a memory block and store it in the | Robert James Kaes | 1 | -11/+5 | |
connection's output_message variable. Instead the error is sent to the client right away. Once we finish processing the client's headers it will automatically accept the error message. So we get the same result, but less memory is used. | |||||
2001-09-15 | Added the send_http_message() function to handle sending messages back to | Robert James Kaes | 1 | -33/+42 | |
the client. It's used by httperr() and showstats(). | |||||
2001-09-11 | Added the debugging realloc() function. | Robert James Kaes | 1 | -1/+8 | |
2001-09-08 | Added the debugging_(malloc|calloc|free) functions to help track memory | Robert James Kaes | 1 | -4/+32 | |
usage. There are also now defines for safe(malloc|calloc|free) which allow for debugging code to be enabled or not. | |||||
2001-09-07 | Error message cleanup. | Robert James Kaes | 1 | -11/+11 | |
2001-08-30 | Removed the xstrstr() function since it is no longer used. reqs.c was the | Robert James Kaes | 1 | -29/+1 | |
only place it was called from, and strstr() will do the same work. | |||||
2001-08-28 | Added an extra CRNL to the end of the HTML body. | Robert James Kaes | 1 | -3/+3 | |
2001-08-27 | Changed the MIME type to text/html rather than the incorrect text/mime. | Robert James Kaes | 1 | -2/+2 | |
2001-08-27 | Split the headers from the message body. Also now include proper headers | Robert James Kaes | 1 | -7/+48 | |
like Date, Server, Content-Length, etc. Also, fixed the type for an error message to be const char*. | |||||
2001-05-27 | Changed all references to log() to log_message(). | Robert James Kaes | 1 | -21/+21 | |
2001-01-15 | Fixed a potential security bug in http_err. There was a possibility of a | Robert James Kaes | 1 | -2/+2 | |
heap overflow exploit. | |||||
2000-09-12 | Removed the xmalloc() and xstrdup() functions. | Robert James Kaes | 1 | -178/+189 | |
Added the pidfile_create() function. Added the OpenBSD style strlcat() and strlcpy() functions. | |||||
2000-02-16 | This commit was generated by cvs2svn to compensate for changes in r2, | Steven Young | 1 | -0/+264 | |
which included commits to RCS files with non-trunk default branches. |