TSHttpTxnNextHopNameGet
Synopsis
#include <ts/ts.h>
Description
Sets the next hop strategy for the transaction txnp This strategy pointer must be a valid strategy and can be nullptr to indicate that parent.config will be used instead.
Plugins can get a strategy by name by calling
TSHttpTxnNextHopStrategyGet() to get the current transaction’s
active strategy or TSHttpTxnNextHopNamedStrategyGet() to
look up a strategy by name using the transaction’s pointer to the
NextHopStrategyFactory strategy database.
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
TSHttpTxnNextHopStrategyGet(), TSHttpTxnNextHopNamedStrategyGet().