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

Method http_header

lib_acl_cpp/src/http/http_header.cpp:20–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#define CP(x, y) ACL_SAFE_STRNCPY(x, y, sizeof(x))
19
20http_header::http_header(dbuf_guard* dbuf /* = NULL */)
21{
22 if (dbuf != NULL) {
23 dbuf_ = dbuf;
24 dbuf_internal_ = NULL;
25 } else {
26 dbuf_internal_ = NEW dbuf_guard;
27 dbuf_ = dbuf_internal_;
28 }
29 init();
30 fixed_ = false;
31}
32
33http_header::http_header(const char* url, dbuf_guard* dbuf /* = NULL */,
34 bool encoding /* = true */)

Callers

nothing calls this directly

Calls 8

http_hdr_res_rangeFunction · 0.85
http_hdr_req_rangeFunction · 0.85
dbuf_strdupMethod · 0.80
acl_foreachFunction · 0.70
initFunction · 0.50
set_statusFunction · 0.50
clearMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected