]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
fix some major badness: error buckets *cannot* use simple_copy because
authorCliff Woolley <jwoolley@apache.org>
Fri, 31 May 2002 05:03:09 +0000 (05:03 +0000)
committerCliff Woolley <jwoolley@apache.org>
Fri, 31 May 2002 05:03:09 +0000 (05:03 +0000)
commitebfb28f986f980e36a17ce0ead4c30525db19815
tree0567241547e0c97f592ebdd9b1ac64762a4ee653
parent03962acd38b8fdd0d2817c3f838a2eca7aaaa408
fix some major badness: error buckets *cannot* use simple_copy because
they're not simple buckets.  they have a private data structure which
gets freed.  if you're going to copy them and share whatever ->data points
to (which is what simple_copy does), you have to refcount the structure,
which is the whole point of apr_bucket_refcount and apr_bucket_shared_copy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95421 13f79535-47bb-0310-9956-ffa450edef68
include/http_protocol.h
server/error_bucket.c