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

Function retry_type

src/proxy/http/HttpTransact.cc:198–205  ·  view source on GitHub ↗

wrapper to get the parent.config retry type. Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.

Source from the content-addressed store, hash-verified

196// wrapper to get the parent.config retry type.
197// Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.
198inline static unsigned
199retry_type(HttpTransact::State *s)
200{
201 if (s->parent_params) {
202 return s->parent_result.retry_type();
203 }
204 return PARENT_RETRY_NONE;
205}
206
207// wrapper to choose between a remap next hop strategy or use parent.config
208// remap next hop strategy is preferred

Callers 1

response_is_retryableFunction · 0.85

Calls 1

retry_typeMethod · 0.80

Tested by

no test coverage detected