Clear route result when retrying.

This commit is contained in:
xiehan
2021-03-05 15:07:10 +00:00
committed by GitHub
parent 4049ab7551
commit d212e22c98
+2
View File
@@ -487,6 +487,8 @@ SubTask *WFComplexClientTask<REQ, RESP, CTX>::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;