TSHttpTxnNextHopStrategyGet

Synopsis

#include <ts/ts.h>
void const *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 will become invalid when ATS configs are reloaded and should be reset with TSRemapNewInstance()

See Also

TSHttpTxnNextHopStrategySet()