mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
feat(Remote): Increased request timeout #114
This commit is contained in:
parent
cd9a63379e
commit
bd8046c214
@ -10,7 +10,7 @@ namespace big::remote
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
http::Request req(file_url.data());
|
http::Request req(file_url.data());
|
||||||
http::Response res = req.send("GET", "", {}, 2500ms);
|
http::Response res = req.send("GET", "", {}, 10s);
|
||||||
|
|
||||||
std::ostream_iterator<std::uint8_t> outputIter(file);
|
std::ostream_iterator<std::uint8_t> outputIter(file);
|
||||||
std::copy(res.body.begin(), res.body.end(), outputIter);
|
std::copy(res.body.begin(), res.body.end(), outputIter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user