]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Write Completion (WC) bucket type.
authorYann Ylavic <ylavic@apache.org>
Tue, 29 Jun 2021 21:16:21 +0000 (21:16 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 29 Jun 2021 21:16:21 +0000 (21:16 +0000)
commit891c3237d4dff0b0ff7a7226d7a39bbeb59087c1
treed46fbd8aed4380d39229547389fcff32d5a216e1
parent90215f54520278e22a7e821c090a3c4649789ffd
core: Write Completion (WC) bucket type.

A WC bucket is meant to prevent buffering/coalescing filters from retaining
data, but unlike a FLUSH bucket it won't cause the core output filter to
block trying to flush anything before.

It can be passed by async handlers which want to never block, followed by
ap_filter_should_yield() to check for pending data and eventually suspend
processing until MPM/asynchronous write completion finishes.

In this commit it's used that way by the tunneling loop of mod_proxy to
prevent SSL coaslescing.

gh: closes #200

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891148 13f79535-47bb-0310-9956-ffa450edef68
include/ap_mmn.h
include/util_filter.h
modules/proxy/proxy_util.c
server/util_filter.c