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

Function ap_method_is_limited

server/config.c:472–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472AP_DECLARE(int) ap_method_is_limited(cmd_parms *cmd, const char *method)
473{
474 int methnum;
475
476 methnum = ap_method_number_of(method);
477
478 /*
479 * A method number either hardcoded into apache or
480 * added by a module and registered.
481 */
482 if (methnum != M_INVALID) {
483 return (cmd->limited & (AP_METHOD_BIT << methnum)) ? 1 : 0;
484 }
485
486 return 0; /* not found */
487}
488
489AP_DECLARE(void) ap_register_hooks(module *m, apr_pool_t *p)
490{

Callers

nothing calls this directly

Calls 1

ap_method_number_ofFunction · 0.85

Tested by

no test coverage detected