diff --git a/src/factory/WFTaskFactory.inl b/src/factory/WFTaskFactory.inl index 703db749..f1a53f12 100644 --- a/src/factory/WFTaskFactory.inl +++ b/src/factory/WFTaskFactory.inl @@ -487,6 +487,8 @@ SubTask *WFComplexClientTask::done() if (retry_times_ < retry_max_) { redirect_ = true; + ns_policy_ = NULL; + route_result_.clear(); this->state = WFT_STATE_UNDEFINED; this->error = 0; this->timeout_reason = 0;