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

Function ap_parse_strict_length

server/util.c:2683–2690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2681#undef CHECK_OVERFLOW
2682
2683AP_DECLARE(int) ap_parse_strict_length(apr_off_t *len, const char *str)
2684{
2685 char *end;
2686
2687 return (apr_isdigit(*str)
2688 && apr_strtoff(len, str, &end, 10) == APR_SUCCESS
2689 && *end == '\0');
2690}
2691
2692/**
2693 * Determine if a request has a request body or not.

Callers 15

store_bodyFunction · 0.85
store_bodyFunction · 0.85
cache_save_filterFunction · 0.85
dav_parse_rangeFunction · 0.85
process_mkcol_bodyFunction · 0.85
ap_set_byterangeFunction · 0.85
ap_http_filterFunction · 0.85
ap_setup_client_blockFunction · 0.85
ap_proxy_http_prefetchFunction · 0.85
proxy_handlerFunction · 0.85
get_content_lengthFunction · 0.85
read_type_mapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected