| 3869 | } |
| 3870 | |
| 3871 | AP_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) |
| 3885 | static const char *no_set_limit(cmd_parms *cmd, void *conf_, |
no test coverage detected