]> granicus.if.org Git - apache/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)
commit7998ed4b01e94282e82d0193912fbc0ba88d9197
treef8a045ee097936a9820ab7626a25643af0f01b6c
parent4b1eefe1f4dbae02e69404559b57b222502671fc
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