]> granicus.if.org Git - apache/commit
In the content-length+bytes-sent filter, only set the content length
authorJeff Trawick <trawick@apache.org>
Wed, 8 Nov 2000 20:00:35 +0000 (20:00 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 8 Nov 2000 20:00:35 +0000 (20:00 +0000)
commitb0f2ef3556f5738f3971d43ac313da01b9e27093
tree855c47ac81ebe240bae15a5f03230e95cb81a5b9
parent5d452728e4015cc9988337d4361d1a277174e014
In the content-length+bytes-sent filter, only set the content length
if we decided to do so initially *and* we've seen all the data.

Prior to this change, for a http/1.1 request to mod_autoindex, the
unconditional call to ap_set_content_length() gave us the wrong
value (only taking into account the first brigade) and disabled
chunking.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86874 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c