mirror of
https://github.com/sogou/workflow.git
synced 2026-10-29 11:36:47 +08:00
always use dns resolver when redirecting
This commit is contained in:
@@ -306,7 +306,10 @@ template<class REQ, class RESP, typename CTX>
|
||||
void WFComplexClientTask<REQ, RESP, CTX>::init_with_uri()
|
||||
{
|
||||
if (redirect_)
|
||||
clear_prev_state();
|
||||
{
|
||||
clear_prev_state();
|
||||
ns_policy_ = WFGlobal::get_dns_resolver();
|
||||
}
|
||||
|
||||
if (uri_.state == URI_STATE_SUCCESS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user