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

Function TSCacheHttpInfoSizeSet

src/api/InkAPI.cc:6525–6532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6523}
6524
6525void
6526TSCacheHttpInfoSizeSet(TSCacheHttpInfo infop, int64_t size)
6527{
6528 // TODO: Check input ?
6529 CacheHTTPInfo *info = reinterpret_cast<CacheHTTPInfo *>(infop);
6530
6531 info->object_size_set(size);
6532}
6533
6534// this function should be called at TS_EVENT_HTTP_READ_RESPONSE_HDR
6535void

Callers

nothing calls this directly

Calls 1

object_size_setMethod · 0.80

Tested by

no test coverage detected