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

Function nextDuplicate

plugins/experimental/access_control/plugin.cc:218–224  ·  view source on GitHub ↗

* @brief a quick utility function to get next duplicate header. */

Source from the content-addressed store, hash-verified

216 * @brief a quick utility function to get next duplicate header.
217 */
218static TSMLoc
219nextDuplicate(TSMBuffer buffer, TSMLoc hdr, TSMLoc field)
220{
221 TSMLoc next = TSMimeHdrFieldNextDup(buffer, hdr, field);
222 TSHandleMLocRelease(buffer, hdr, field);
223 return next;
224}
225
226/**
227 * @brief Append cookies by following the rules specified in the cookies config object.

Callers 1

getCookieByNameFunction · 0.70

Calls 2

TSMimeHdrFieldNextDupFunction · 0.85
TSHandleMLocReleaseFunction · 0.85

Tested by

no test coverage detected