summaryrefslogtreecommitdiff
path: root/src/utils.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2001-09-16send_http_message() doesn't create a memory block and store it in theRobert James Kaes1-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-15Added the send_http_message() function to handle sending messages back toRobert James Kaes1-33/+42
the client. It's used by httperr() and showstats().
2001-09-11Added the debugging realloc() function.Robert James Kaes1-1/+8
2001-09-08Added the debugging_(malloc|calloc|free) functions to help track memoryRobert James Kaes1-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-07Error message cleanup.Robert James Kaes1-11/+11
2001-08-30Removed the xstrstr() function since it is no longer used. reqs.c was theRobert James Kaes1-29/+1
only place it was called from, and strstr() will do the same work.
2001-08-28Added an extra CRNL to the end of the HTML body.Robert James Kaes1-3/+3
2001-08-27Changed the MIME type to text/html rather than the incorrect text/mime.Robert James Kaes1-2/+2
2001-08-27Split the headers from the message body. Also now include proper headersRobert James Kaes1-7/+48
like Date, Server, Content-Length, etc. Also, fixed the type for an error message to be const char*.
2001-05-27Changed all references to log() to log_message().Robert James Kaes1-21/+21
2001-01-15Fixed a potential security bug in http_err. There was a possibility of aRobert James Kaes1-2/+2
heap overflow exploit.
2000-09-12Removed the xmalloc() and xstrdup() functions.Robert James Kaes1-178/+189
Added the pidfile_create() function. Added the OpenBSD style strlcat() and strlcpy() functions.
2000-02-16This commit was generated by cvs2svn to compensate for changes in r2,Steven Young1-0/+264
which included commits to RCS files with non-trunk default branches.