| 18 | #define CP(x, y) ACL_SAFE_STRNCPY(x, y, sizeof(x)) |
| 19 | |
| 20 | http_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 | |
| 33 | http_header::http_header(const char* url, dbuf_guard* dbuf /* = NULL */, |
| 34 | bool encoding /* = true */) |
nothing calls this directly
no test coverage detected