1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02: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:
proller
2014-01-07 02:50:45 +04:00
parent 3e728e722a
commit c62bab010f
9 changed files with 45 additions and 24 deletions

View File

@@ -58,14 +58,7 @@ struct HTTPFetchRequest
//useragent to use
std::string useragent;
HTTPFetchRequest()
{
url = "";
caller = HTTPFETCH_DISCARD;
request_id = 0;
timeout = 0;
connect_timeout = 0;
}
HTTPFetchRequest();
};
struct HTTPFetchResult