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

Function ap_scan_http_token

server/util.c:1664–1669  ·  view source on GitHub ↗

Scan a string for HTTP token characters, returning the pointer to * the first non-token character. */

Source from the content-addressed store, hash-verified

1662 * the first non-token character.
1663 */
1664AP_DECLARE(const char *) ap_scan_http_token(const char *ptr)
1665{
1666 for ( ; !TEST_CHAR(*ptr, T_HTTP_TOKEN_STOP); ++ptr) ;
1667
1668 return ptr;
1669}
1670
1671/* Scan a string for visible ASCII (0x21-0x7E) or obstext (0x80+)
1672 * and return a pointer to the first ctrl/space character encountered.

Callers 5

check_headerFunction · 0.85
mod_proxy_uwsgi.cFile · 0.85
inv_field_name_chrFunction · 0.85
ap_parse_request_lineFunction · 0.85
ap_get_mime_headers_coreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected