]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Introduce ap_debug_assert() macro, like ap_assert() but only active if
authorJeff Trawick <trawick@apache.org>
Fri, 13 Oct 2000 18:39:18 +0000 (18:39 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 13 Oct 2000 18:39:18 +0000 (18:39 +0000)
commit26db2ffb0cd06071349c8e266bc36e65e1d4589f
treecec71719344c4b7e94e0e0d374d166776c83dec7
parentee1ba0a23fabf87e7e2e7e60f90651cb032c7157
Introduce ap_debug_assert() macro, like ap_assert() but only active if
AP_DEBUG is defined.

ap_get_client_block():
. avoid some cases where we leak a temporary bucket brigade
. clean up/fix the logic to copy a brigade into the caller's buffer;
  the wrong length was used in some cases
. add an AP_DEBUG-only assertion for some assumptions made regarding
  the brigade returned by the filters

Submitted by: partly by Greg Stein, but of course anything bad is mine

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