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

Function TSCacheHttpInfoRespGet

src/api/InkAPI.cc:3110–3118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3108}
3109
3110void
3111TSCacheHttpInfoRespGet(TSCacheHttpInfo infop, TSMBuffer *bufp, TSMLoc *obj)
3112{
3113 CacheHTTPInfo *info = reinterpret_cast<CacheHTTPInfo *>(infop);
3114
3115 *(reinterpret_cast<HTTPHdr **>(bufp)) = info->response_get();
3116 *obj = reinterpret_cast<TSMLoc>(info->response_get()->m_http);
3117 sdk_assert(sdk_sanity_check_mbuffer(*bufp) == TS_SUCCESS);
3118}
3119
3120time_t
3121TSCacheHttpInfoReqSentTimeGet(TSCacheHttpInfo infop)

Callers 1

handle_scanFunction · 0.85

Calls 2

sdk_sanity_check_mbufferFunction · 0.85
response_getMethod · 0.80

Tested by

no test coverage detected