summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-23 09:23:55 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-23 09:53:55 +0200
commit6b2f24018d1754bedaf1e9114470cf88872c828d (patch)
tree70b630f58d74c6559fd64f48fe6034bf7cd6c113
parentbf33b5df6e12ead8f8216e0c839a6f15ea0cf37a (diff)
downloadserenity-6b2f24018d1754bedaf1e9114470cf88872c828d.zip
RequestServer: Remove unnecessary greet() message
-rw-r--r--Userland/Libraries/LibProtocol/RequestClient.cpp1
-rw-r--r--Userland/Services/RequestServer/ClientConnection.cpp4
-rw-r--r--Userland/Services/RequestServer/ClientConnection.h1
-rw-r--r--Userland/Services/RequestServer/RequestServer.ipc3
4 files changed, 0 insertions, 9 deletions
diff --git a/Userland/Libraries/LibProtocol/RequestClient.cpp b/Userland/Libraries/LibProtocol/RequestClient.cpp
index cbf3d6cc36..c7d2afe90c 100644
--- a/Userland/Libraries/LibProtocol/RequestClient.cpp
+++ b/Userland/Libraries/LibProtocol/RequestClient.cpp
@@ -18,7 +18,6 @@ RequestClient::RequestClient()
void RequestClient::handshake()
{
- greet();
}
template<typename RequestHashMapTraits>
diff --git a/Userland/Services/RequestServer/ClientConnection.cpp b/Userland/Services/RequestServer/ClientConnection.cpp
index eac1085dbf..fc9f61ce77 100644
--- a/Userland/Services/RequestServer/ClientConnection.cpp
+++ b/Userland/Services/RequestServer/ClientConnection.cpp
@@ -99,10 +99,6 @@ void ClientConnection::did_request_certificates(Badge<Request>, Request& request
async_certificate_requested(request.id());
}
-void ClientConnection::greet()
-{
-}
-
Messages::RequestServer::SetCertificateResponse ClientConnection::set_certificate(i32 request_id, String const& certificate, String const& key)
{
auto* request = const_cast<Request*>(m_requests.get(request_id).value_or(nullptr));
diff --git a/Userland/Services/RequestServer/ClientConnection.h b/Userland/Services/RequestServer/ClientConnection.h
index a5e1f9f965..b01c207672 100644
--- a/Userland/Services/RequestServer/ClientConnection.h
+++ b/Userland/Services/RequestServer/ClientConnection.h
@@ -30,7 +30,6 @@ public:
void did_request_certificates(Badge<Request>, Request&);
private:
- virtual void greet() override;
virtual Messages::RequestServer::IsSupportedProtocolResponse is_supported_protocol(String const&) override;
virtual Messages::RequestServer::StartRequestResponse start_request(String const&, URL const&, IPC::Dictionary const&, ByteBuffer const&) override;
virtual Messages::RequestServer::StopRequestResponse stop_request(i32) override;
diff --git a/Userland/Services/RequestServer/RequestServer.ipc b/Userland/Services/RequestServer/RequestServer.ipc
index c6a4a4f55d..e88a402023 100644
--- a/Userland/Services/RequestServer/RequestServer.ipc
+++ b/Userland/Services/RequestServer/RequestServer.ipc
@@ -1,8 +1,5 @@
endpoint RequestServer
{
- // Basic protocol
- greet() => ()
-
// Test if a specific protocol is supported, e.g "http"
is_supported_protocol(String protocol) => (bool supported)