Encodes the local dtab into the L5d-Ctx-Dtab header.
Encodes the local dtab into the L5d-Ctx-Dtab header.
use DtabFilter.Extractor once it is released.
Extract a Dtab from the L5d-Ctx-Dtab and L5d-Dtab headers (in that order) and append them to the local context.
Extract a Dtab from the L5d-Ctx-Dtab and L5d-Dtab headers (in that order) and append them to the local context.
The L5d-Ctx-Dtab header is intended to be set by a linkerd instance, while the L5d-Dtab header is intended to be set by a user who wants to override delegation.
use DtabFilter.Injector once it is released.
There are two headers used to control local Dtabs in linkerd:
l5d-ctx-dtabis read and _written_ by linkerd. It is intended to managed entirely by linkerd, and applications should only forward requests prefixed byl5d-ctx-*.*NOTE*: the client module does not yet encode
l5d-ctx-dtab.dtab-localis still to be relied on until https://github.com/twitter/finagle/pull/514 is complete.2.
l5d-dtabis to be provided by users. Applications are not required to forwardl5d-dtabwhen fronted by linkerd.l5d-dtabis appended tol5d-ctx-dtab, so that user-provided delegations take precdence.