Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-12 | Services: Move to Userland/Services/ | Andreas Kling | |
2020-12-30 | ProtocolServer: Stream the downloaded data if possible | AnotherTest | |
This patchset makes ProtocolServer stream the downloads to its client (LibProtocol), and as such changes the download API; a possible download lifecycle could be as such: notation = client->server:'>', server->client:'<', pipe activity:'*' ``` > StartDownload(GET, url, headers, {}) < Response(0, fd 8) * {data, 1024b} < HeadersBecameAvailable(0, response_headers, 200) < DownloadProgress(0, 4K, 1024) * {data, 1024b} * {data, 1024b} < DownloadProgress(0, 4K, 2048) * {data, 1024b} < DownloadProgress(0, 4K, 1024) < DownloadFinished(0, true, 4K) ``` Since managing the received file descriptor is a pain, LibProtocol implements `Download::stream_into(OutputStream)`, which can be used to stream the download into any given output stream (be it a file, or memory, or writing stuff with a delay, etc.). Also, as some of the users of this API require all the downloaded data upfront, LibProtocol also implements `set_should_buffer_all_input()`, which causes the download instance to buffer all the data until the download is complete, and to call the `on_buffered_download_finish` hook. | |||
2020-12-21 | Everywhere: Switch from (void) to [[maybe_unused]] (#4473) | Lenny Maiorani | |
Problem: - `(void)` simply casts the expression to void. This is understood to indicate that it is ignored, but this is really a compiler trick to get the compiler to not generate a warning. Solution: - Use the `[[maybe_unused]]` attribute to indicate the value is unused. Note: - Functions taking a `(void)` argument list have also been changed to `()` because this is not needed and shows up in the same grep command. | |||
2020-10-30 | LibProtocol+LibGemini+LibHTTP: Provide root certificates to LibTLS | AnotherTest | |
Now we (almost) verify all the sites we browse. Certificate verification failures should not be unexpected, as the existing CA certificates are likely not complete. | |||
2020-09-25 | Meta+Services: Make clang-format-10 clean | Ben Wiederhake | |
2020-07-06 | ProtocolServer: Turn this into a multi-instance service | Andreas Kling | |
Everyone who connects to ProtocolServer now gets his own instance. This means that different users can no longer talk to the same exact ProtocolServer process, enhanching security and stability. | |||
2020-05-17 | ProtocolServer: Put everything in the ProtocolServer namespace | Andreas Kling | |
2020-05-17 | ProtocolServer: Integrate LibGemini for simple requests | Conrad Pankoff | |
2020-05-08 | Services: Renamed from Servers | Andreas Kling | |
It didn't feel right to have a "DHCPClient" in a "Servers" directory. Rename this to Services to better reflect the type of programs we'll be putting in there. |