wrapper to get the numParents. Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead.
| 169 | // wrapper to get the numParents. |
| 170 | // Does NOT check the strategy; if strategy exists, strategy->responseIsRetryable should be called instead. |
| 171 | inline static uint32_t |
| 172 | numParents(HttpTransact::State *s) |
| 173 | { |
| 174 | if (s->parent_params) { |
| 175 | return s->parent_params->numParents(&s->parent_result); |
| 176 | } |
| 177 | return 0; |
| 178 | } |
| 179 | |
| 180 | // wrapper to choose between a remap next hop strategy or use parent.config |
| 181 | // remap next hop strategy is preferred |
no test coverage detected