]> granicus.if.org Git - apache/commit
yet another tweak to empty brigade checking on entry to core_input_filter():
authorJeff Trawick <trawick@apache.org>
Wed, 6 Feb 2002 16:16:55 +0000 (16:16 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 6 Feb 2002 16:16:55 +0000 (16:16 +0000)
commit60cbb9ea608107feadeee793828380fb6eceaafb
tree016b67720536abd3439422f73b31beb1b3aa2cb5
parent88088158f809cfcbc42f72ce12d3ccc1d2cfd3de
yet another tweak to empty brigade checking on entry to core_input_filter():

  since APR_BRIGADE_EMPTY() assumes a non-empty brigade, we have to check
  before invoking that macro

  since APR_BRIGADE_EMPTY() can make a brigade empty, we have to check
  after invoking that macro

An obvious variation of this fix would be to change APR_BRIGADE_NORMALIZE()
to deal with empty brigades.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93293 13f79535-47bb-0310-9956-ffa450edef68
server/core.c