summaryrefslogtreecommitdiff
path: root/Userland/Services/RequestServer/HttpsRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/RequestServer/HttpsRequest.cpp')
-rw-r--r--Userland/Services/RequestServer/HttpsRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/RequestServer/HttpsRequest.cpp b/Userland/Services/RequestServer/HttpsRequest.cpp
index 95c78157ba..f3f537705c 100644
--- a/Userland/Services/RequestServer/HttpsRequest.cpp
+++ b/Userland/Services/RequestServer/HttpsRequest.cpp
@@ -27,7 +27,7 @@ HttpsRequest::~HttpsRequest()
{
m_job->on_finish = nullptr;
m_job->on_progress = nullptr;
- m_job->shutdown();
+ m_job->cancel();
}
NonnullOwnPtr<HttpsRequest> HttpsRequest::create_with_job(Badge<HttpsProtocol>&&, ClientConnection& client, NonnullRefPtr<HTTP::HttpsJob> job, NonnullOwnPtr<OutputFileStream>&& output_stream)