wrapper to get the parent.config retry type. Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.
| 196 | // wrapper to get the parent.config retry type. |
| 197 | // Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead. |
| 198 | inline static unsigned |
| 199 | retry_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 |
no test coverage detected