]> granicus.if.org Git - apache/commit
If a bucket is split at the first or last character, then we should get
authorRyan Bloom <rbb@apache.org>
Sun, 17 Sep 2000 18:52:48 +0000 (18:52 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 17 Sep 2000 18:52:48 +0000 (18:52 +0000)
commitc65ff24cf2e444982d8df92d99e62c55a3d30054
tree742f4c3ff9367629ab078a48bfd7b8ca6c10f371
parentdc62a5eb8d296e713e1f94ad791473df3a492bb7
If a bucket is split at the first or last character, then we should get
a zero length bucket and a bucket containing the original text.  Later
filters will either throw away the zero length bucket, or they will just
ignore it.  The problem is that if we return an error in those conditions,
then all filters need special logic whenever they are going to split a
bucket.  By always splitting, only a few selected buckets need the special
logic to deal with zero-length buckets.  This also fixes mod_include to not
have the special logic around it's split call.

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