diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-12-24 00:03:00 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-12-24 00:03:00 +0000 |
commit | 8cfe33fc4a2252c09ff0e901f940614d146fa145 (patch) | |
tree | e55de86c579ed6911dfe3fa34934d745b373d268 /ChangeLog | |
parent | 9520866ab3139cd0b6c3931cd5f1971437eb066a (diff) |
more changes to utils.c, reqs.c, and sock.c
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,16 @@ 2001-12-23 Robert James Kaes <rjkaes@flarenet.com> + * src/utils.c (send_http_message): Use the write_message() + function for creating and sending the headers to the client. + (httperr): Use similar code to write_message() to create the body + of the error message. I use this so that there is no limit to the + size of the error message (better coding. :) I'm still trying to + figure out how to combine this code with write_message() into a + common function. + + * src/sock.c (write_message): Moved write_message() into sock.c + since it's now accessed by more than just the reqs.c file. + * src/tinyproxy.c (main): Made the error log for the idle time setting more verbose so that it's explains the reasoning better. Also, changed the level to WARNING. @@ -19,7 +30,7 @@ * src/reqs.c (write_message): Encapsulate code to handle sending snprintf() built lines to a file descriptor. (process_server_headers): Removed duplicate code and used the - return value from readline() instead of recaculating it by + return value from readline() instead of recalculating it by strlen(). 2001-12-18 Robert James Kaes <rjkaes@flarenet.com> |