MCPcopy Create free account
hub / github.com/apache/httpd / ap_get_limit_xml_body

Function ap_get_limit_xml_body

server/core.c:3871–3882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3869}
3870
3871AP_DECLARE(apr_size_t) ap_get_limit_xml_body(const request_rec *r)
3872{
3873 core_dir_config *conf;
3874
3875 conf = ap_get_core_module_config(r->per_dir_config);
3876 if (conf->limit_xml_body == AP_LIMIT_UNSET)
3877 return AP_DEFAULT_LIMIT_XML_BODY;
3878 if (conf->limit_xml_body == 0)
3879 return AP_MAX_LIMIT_XML_BODY;
3880
3881 return (apr_size_t)conf->limit_xml_body;
3882}
3883
3884#if !defined (RLIMIT_CPU) || !(defined (RLIMIT_DATA) || defined (RLIMIT_VMEM) || defined(RLIMIT_AS)) || !defined (RLIMIT_NPROC)
3885static const char *no_set_limit(cmd_parms *cmd, void *conf_,

Callers 1

ap_xml_parse_inputFunction · 0.85

Calls 1

Tested by

no test coverage detected