MCPcopy Create free account
hub / github.com/apache/trafficserver / TSMimeParseDate

Function TSMimeParseDate

src/api/InkAPI.cc:2142–2150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2140}
2141
2142time_t
2143TSMimeParseDate(char const *const value_str, int const value_len)
2144{
2145 if (value_str == nullptr) {
2146 return static_cast<time_t>(0);
2147 }
2148
2149 return mime_parse_date(value_str, value_str + value_len);
2150}
2151
2152int
2153TSMimeHdrFieldValueIntGet(TSMBuffer bufp, TSMLoc hdr, TSMLoc field, int idx)

Callers 1

handleNextServerHeaderFunction · 0.85

Calls 1

mime_parse_dateFunction · 0.85

Tested by

no test coverage detected