Skip to content

Commit

Permalink
Return the request success state
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus committed May 22, 2023
1 parent f72392e commit 7041349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/net/http_transport_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,10 @@ static bool ExecuteProxyRequest(NSMutableURLRequest* request,
[request setHTTPBodyStream:input_stream.get()];

if (http_proxy().empty()) {
ExecuteNormalRequest(request, response_body);
return ExecuteNormalRequest(request, response_body);
} else {
std::string proxy = http_proxy() + "/";
ExecuteProxyRequest(request, proxy, response_body);
return ExecuteProxyRequest(request, proxy, response_body);
}
}
}
Expand Down

0 comments on commit 7041349

Please sign in to comment.