Robert James Kaes
d3b099140f
Some code clean up due to the creation of the conns.{c,h} files which now
...
store the creation/destruction and definition of the connection structure.
2001-10-25 16:58:50 +00:00
Robert James Kaes
b7b4d08758
Error message cleanup to make the information more informative.
2001-10-24 00:37:23 +00:00
Robert James Kaes
6ab7ebcb31
send_http_message() doesn't create a memory block and store it in the
...
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-16 20:13:52 +00:00
Robert James Kaes
9860222979
Added the send_http_message() function to handle sending messages back to
...
the client. It's used by httperr() and showstats().
2001-09-15 21:29:59 +00:00
Robert James Kaes
e2f10bc2ea
Added the debugging realloc() function.
2001-09-11 19:27:27 +00:00
Robert James Kaes
4923dd22a7
Added the debugging_(malloc|calloc|free) functions to help track memory
...
usage. There are also now defines for safe(malloc|calloc|free) which allow
for debugging code to be enabled or not.
2001-09-08 18:55:58 +00:00
Robert James Kaes
1a9dc4e7e8
Error message cleanup.
2001-09-07 04:21:07 +00:00
Robert James Kaes
fc94a56f56
Removed the xstrstr() function since it is no longer used. reqs.c was the
...
only place it was called from, and strstr() will do the same work.
2001-08-30 16:52:56 +00:00
Robert James Kaes
ee892c109b
Added an extra CRNL to the end of the HTML body.
2001-08-28 04:33:54 +00:00
Robert James Kaes
f7d0ea8784
Changed the MIME type to text/html rather than the incorrect text/mime.
2001-08-27 17:46:50 +00:00
Robert James Kaes
3b5e17d579
Split the headers from the message body. Also now include proper headers
...
like Date, Server, Content-Length, etc. Also, fixed the type for an error
message to be const char*.
2001-08-27 03:45:34 +00:00
Robert James Kaes
7febdd028c
Changed all references to log() to log_message().
2001-05-27 02:38:46 +00:00
Robert James Kaes
2f2d74e9f2
Fixed a potential security bug in http_err. There was a possibility of a
...
heap overflow exploit.
2001-01-15 17:06:19 +00:00
Robert James Kaes
1efe0265de
Removed the xmalloc() and xstrdup() functions.
...
Added the pidfile_create() function.
Added the OpenBSD style strlcat() and strlcpy() functions.
2000-09-12 00:01:29 +00:00
Steven Young
37e63909c0
This commit was generated by cvs2svn to compensate for changes in r2,
...
which included commits to RCS files with non-trunk default branches.
2000-02-16 17:32:49 +00:00