mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-17 15:51:55 +00:00
LibRequests: Port to Windows
This commit is contained in:
parent
212cea4535
commit
969fb1a3a8
Notes:
github-actions[bot]
2024-12-17 10:08:45 +00:00
Author: https://github.com/stasoid
Commit: 969fb1a3a8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2921
2 changed files with 7 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibCore/System.h>
|
||||
#include <LibRequests/Request.h>
|
||||
#include <LibRequests/RequestClient.h>
|
||||
|
||||
|
@ -19,7 +20,7 @@ RequestClient::~RequestClient() = default;
|
|||
void RequestClient::die()
|
||||
{
|
||||
// FIXME: Gracefully handle this, or relaunch and reconnect to RequestServer.
|
||||
warnln("\033[31;1m {} Lost connection to RequestServer\033[0m", getpid());
|
||||
warnln("\033[31;1m {} Lost connection to RequestServer\033[0m", Core::System::getpid());
|
||||
}
|
||||
|
||||
void RequestClient::ensure_connection(URL::URL const& url, ::RequestServer::CacheLevel cache_level)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue