Changes for chomp(), read_request_line(), and readline()

This commit is contained in:
Robert James Kaes 2002-04-15 04:17:17 +00:00
parent 4b7de22999
commit 17ea28ccc6

View File

@ -1,5 +1,14 @@
2002-04-14 Robert James Kaes <rjkaes@flarenet.com>
* src/utils.c (chomp): Added an assert to detect a design error.
* src/reqs.c (read_request_line): Fixed the return type to be an
unsigned variable, so that we preserve a negative return value
upon an error.
* src/sock.c (readline): Added a test for allocating enough memory
for the whole_buffer.
* src/conns.h: Replaced the error boolean with a pointer to an
error string and error number for use in the
send_http_error_message() function.