]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Stop always allocating 8k for each request. We now count the number
authorRyan Bloom <rbb@apache.org>
Wed, 1 Nov 2000 05:15:25 +0000 (05:15 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 1 Nov 2000 05:15:25 +0000 (05:15 +0000)
commitaefedcb261c156b4ed7cfb4abb4f79353e4aa211
treef8a045ee097936a9820ab7626a25643af0f01b6c
parent683fd269bdf40e3bc3c06f5b8c6a771010ea0f68
Stop always allocating 8k for each request.  We now count the number
of bytes required for the headers for each request, and we just allocate
that number of bytes plus 100 extra.  The extra 100 are a fudge factor,
because it is a bit difficult to compute the exact length for the
basic HTTP headers like date and the status line.

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