mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 17:47:18 +00:00
LibIPC: Stop exchanging client/server PIDs in greeting handshake
The PIDs were used for sharing shbufs between processes, but now that we have migrated to file descriptor passing, we no longer need to know the PID of the other side.
This commit is contained in:
@@ -51,10 +51,9 @@ void ClientConnection::die()
|
||||
exit(0);
|
||||
}
|
||||
|
||||
OwnPtr<Messages::ImageDecoderServer::GreetResponse> ClientConnection::handle(const Messages::ImageDecoderServer::Greet& message)
|
||||
OwnPtr<Messages::ImageDecoderServer::GreetResponse> ClientConnection::handle(const Messages::ImageDecoderServer::Greet&)
|
||||
{
|
||||
set_client_pid(message.client_pid());
|
||||
return make<Messages::ImageDecoderServer::GreetResponse>(client_id(), getpid());
|
||||
return make<Messages::ImageDecoderServer::GreetResponse>(client_id());
|
||||
}
|
||||
|
||||
OwnPtr<Messages::ImageDecoderServer::DecodeImageResponse> ClientConnection::handle(const Messages::ImageDecoderServer::DecodeImage& message)
|
||||
|
||||
Reference in New Issue
Block a user