Commit d823f23a authored by Kenton Varda's avatar Kenton Varda

Remove unused PromiseAndFulfiller.

parent 49afd825
......@@ -3163,8 +3163,6 @@ private:
networkToUse = &KJ_REQUIRE_NONNULL(tlsNetwork, "this HttpClient doesn't support HTTPS");
}
auto paf = kj::newPromiseAndFulfiller<kj::Promise<void>>();
auto promise = networkToUse->parseAddress(parsed.host, isHttps ? 443 : 80)
.then([this](kj::Own<kj::NetworkAddress> addr) {
return kj::heap<NetworkAddressHttpClient>(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment