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

Function max_retries

src/proxy/http/HttpTransact.cc:160–167  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

158// wrapper to get the max_retries.
159// Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.
160inline static unsigned
161max_retries(HttpTransact::State *s, ParentRetry_t method)
162{
163 if (s->parent_params) {
164 return s->parent_result.max_retries(method);
165 }
166 return 0;
167}
168
169// wrapper to get the numParents.
170// Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.

Callers 1

response_is_retryableFunction · 0.85

Calls 1

max_retriesMethod · 0.80

Tested by

no test coverage detected