]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
NetWare has a fixed lengh stack. Since MAX_STRING_LEN is set
authorBradley Nicholes <bnicholes@apache.org>
Fri, 13 Jul 2001 19:45:52 +0000 (19:45 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 13 Jul 2001 19:45:52 +0000 (19:45 +0000)
commit6fd6248a360f6dc559a6a0d2e14a7eb9e5fb7b53
tree05ae1ca9f52c4680b36ef46b61edc36dd2ac0f28
parent83612451e5b9c1e2eafae00466555c3cb68a51e8
NetWare has a fixed lengh stack.  Since MAX_STRING_LEN is set
to 8k, one call to send_parsed_content() chews up 24k of stack space.
During a server-side include evaluation this function is
called recusively, allocating 24k each time.  Obviously it
doesn't take long to blow a 64k stack which is the default
for Apache for NetWare.  Since MAX_STRING_LEN is used all
throughout the Apache code, we should rethink using a default
of 8k especially in recursive functions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@89548 13f79535-47bb-0310-9956-ffa450edef68
src/modules/standard/mod_include.c