diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-11 20:44:15 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-11 20:44:15 +0000 |
commit | 85a82af5f51ff606064e14658887f4684e51f629 (patch) | |
tree | 768344b8f00436a134b410d1393c3d913aceadfd /src/conns.h | |
parent | ce06f27a3518e62da072eb21da0847578c72d86d (diff) | |
download | tinyproxy-85a82af5f51ff606064e14658887f4684e51f629.tar.gz tinyproxy-85a82af5f51ff606064e14658887f4684e51f629.zip |
Did a bit of consolidation by moving code into remove_connection_headers()
and added the get_content_length() function.
The process_server_headers() function was rewritten to remove the
Connection header correctly, and also retrieve the Content-Length value.
This value is needed in the relay_connection() function since there are
some remote machines which do not properly close down the connection once
the body has been retrieved. Thanks to James Flemer for finding a test
case for this problem.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions