summaryrefslogtreecommitdiff
path: root/src/conns.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-11 20:44:15 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-11 20:44:15 +0000
commit85a82af5f51ff606064e14658887f4684e51f629 (patch)
tree768344b8f00436a134b410d1393c3d913aceadfd /src/conns.h
parentce06f27a3518e62da072eb21da0847578c72d86d (diff)
downloadtinyproxy-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