]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: binary search for ProxyErrorOverride status codes.
authorYann Ylavic <ylavic@apache.org>
Thu, 14 May 2020 09:02:13 +0000 (09:02 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 14 May 2020 09:02:13 +0000 (09:02 +0000)
commitd052cff922c64d3f4105eef53d59075146eec438
tree525e1a016e608ae1523dc7dd5c6a823378e60794
parent010d3aa68a9e1957f6febbba3dec22fd0bddc0db
mod_proxy: binary search for ProxyErrorOverride status codes.

The list can be rather long, speed up runtime by sorting the status codes in
error_override_codes and using binary search from ap_proxy_should_override().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877728 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy.c
modules/proxy/proxy_util.c