wrapper to get the max_retries. Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.
| 158 | // wrapper to get the max_retries. |
| 159 | // Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead. |
| 160 | inline static unsigned |
| 161 | max_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. |
no test coverage detected