TSHttpTxnNextHopStrategyGet

Synopsis

#include <ts/ts.h>
TSStrategy TSHttpTxnNextHopStrategyGet(TSHttpTxn txnp)

Description

Gets a pointer to the current transaction txnp NextHopSelectionStrategy. This may be nullptr indicating that parent.config is in use.

Note

This strategy pointer must not be freed and the contents must not be changed. Strategy pointers held by plugins become invalid when ATS configs are reloaded and must be re-obtained during TSRemapNewInstance()

See Also

TSHttpTxnNextHopStrategySet()