mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Send long announce as POST, show OS in useragent
Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
This commit is contained in:
parent
3e728e722a
commit
c62bab010f
9 changed files with 45 additions and 24 deletions
|
@ -518,8 +518,6 @@ bool GUIEngine::downloadFile(std::string url,std::string target) {
|
|||
HTTPFetchRequest fetchrequest;
|
||||
HTTPFetchResult fetchresult;
|
||||
fetchrequest.url = url;
|
||||
fetchrequest.useragent = std::string("Minetest ")+minetest_version_hash;
|
||||
fetchrequest.timeout = g_settings->getS32("curl_timeout");
|
||||
fetchrequest.caller = HTTPFETCH_SYNC;
|
||||
httpfetch_sync(fetchrequest,fetchresult);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue