Josh Gilkerson <email@example.com>
r865065 | epg | 2007-05-10 16:17:14 -0500 (Thu, 10 May 2007)
Added authz optimization to mod_dav_svn that skips apache authz for
(subreq_bypass): new method. This is the implementation of a provider
that will be called from mod_dav_svn to bypass the apache authz process.
(get_access_conf): new method. This is a cut and paste from existing
code that that is needed in subreq_bypass. It was pulled out to
(register_hooks): was modified to register the new provider.
AUTHZ_SVN__SUBREQ_BYPASS_PROV_VER): Provider lookup info.
(authz_svn__subreq_bypass_func_t): Signature of the provider method.
(PATHAUTHZ_BYPASS_ARG): string argument to SVNPathAuthz directive that will
enable bypassing apache's authz mechanism.
(enum path_authz_conf): configuration type. For this directive, which
is now a tri-state instead of a boolean.
(dir_conf_t): changed do_path_authz to path_authz_method. The name was
changed to denote the new meaning of the variable.
(pathauthz_bypass_func): a new function pointer variable. Thebypass
provider is cached here.
(merge_dir_config, SVNPathAuthz_cmd,cmds, dav_svn__get_pathauthz_flag):
Changed to interact with the new config.
(dav_svn__get_pathauthz_bypass): new method.
(dav_svn__get_pathauthz_bypass): new function to get the bypass provider if
(allow_read): Uses the new method if configured.
Patch by: Josh Gilkerson <firstname.lastname@example.org>