From b18070b268527f32e7b6b7c0bb5359d95b07ea4f Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 11 Apr 2002 20:45:10 +0000 Subject: Changes to remove_connection_headers(), relay_connection(), process_client_headers(), and process_server_headeers(). Added the get_content_length() function. --- ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7e8be56..93f6597 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +2002-04-11 Robert James Kaes + + * src/reqs.c (remove_connection_headers): Moved all the code for + detecting and removing headers based on the Connection header into + this function. + (get_content_length): Moved the check for a Content-Length value + into it's own function. + (process_client_headers): Changed the code to use the newer + remove_connection_headers() and get_content_length() functions. + (process_server_headers): Rewrote this function to handle the + headers in a more consistent manner. The connection header is + handled correctly, and the content-length header is stored for + later use. + (relay_connection): Added a test to use the + connptr->remote_content_length value if it's present. + + * src/conns.c: Added the remote_content_length variable to hold + the number of bytes the remove server is _supposed_ to send to + us. This fixes a problem where the remote server doesn't close + the connection after sending the body. Problem was reported by + James Flemer. + 2002-04-10 Robert James Kaes * src/Makefile.am: Removed the dependency on LIBOBJS and instead -- cgit v1.2.3