diff --git a/util/net/http_transport_mac.mm b/util/net/http_transport_mac.mm index ec19730eb..48f3408a9 100644 --- a/util/net/http_transport_mac.mm +++ b/util/net/http_transport_mac.mm @@ -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); } } }