From 71d27abb97acc656256f3fef6d2a67878d520f12 Mon Sep 17 00:00:00 2001 From: DexesTTP Date: Fri, 23 Apr 2021 22:45:52 +0200 Subject: Services: Rename ProtocolServer to RequestServer The current ProtocolServer was really only used for requests, and with the recent introduction of the WebSocket service, long-lasting connections with another server are not part of it. To better reflect this, this commit renames it to RequestServer. This commit also changes the existing 'protocol' portal to 'request', the existing 'protocol' user and group to 'request', and most mentions of the 'download' aspect of the request to 'request' when relevant, to make everything consistent across the system. Note that LibProtocol still exists as-is, but the more generic Client class and the more specific Download class have both been renamed to a more accurate RequestClient and Request to match the new names. This commit only change names, not behaviors. --- Userland/Services/WebContent/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Services/WebContent') diff --git a/Userland/Services/WebContent/main.cpp b/Userland/Services/WebContent/main.cpp index 4f1677001d..aa37ad0cf8 100644 --- a/Userland/Services/WebContent/main.cpp +++ b/Userland/Services/WebContent/main.cpp @@ -20,7 +20,7 @@ int main(int, char**) perror("unveil"); return 1; } - if (unveil("/tmp/portal/protocol", "rw") < 0) { + if (unveil("/tmp/portal/request", "rw") < 0) { perror("unveil"); return 1; } -- cgit v1.2.3