MCPcopy Create free account
hub / github.com/acl-dev/acl / http_hdr_req_parse3

Function http_hdr_req_parse3

lib_protocol/src/http/http_hdr_req.c:853–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

851}
852
853int http_hdr_req_parse3(HTTP_HDR_REQ *hh, int parse_params, int parse_cookie)
854{
855 if (parse_params) {
856 hh->flag |= HTTP_HDR_REQ_FLAG_PARSE_PARAMS;
857 }
858 if (http_hdr_req_line_parse(hh) < 0) {
859 return -1;
860 }
861 if (parse_cookie) {
862 hh->flag |= HTTP_HDR_REQ_FLAG_PARSE_COOKIE;
863 if (http_hdr_req_cookies_parse(hh) < 0) {
864 return -1;
865 }
866 }
867 return http_hdr_parse(&hh->hdr);
868}
869
870int http_hdr_req_rewrite2(HTTP_HDR_REQ *hh, const char *url)
871{

Callers 2

http_hdr_req_parseFunction · 0.85
request_header_readyFunction · 0.85

Calls 3

http_hdr_req_line_parseFunction · 0.85
http_hdr_parseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…