summaryrefslogtreecommitdiff
path: root/src/httpfetch.h
diff options
context:
space:
mode:
authorproller <proller@github.com>2014-01-07 02:50:45 +0400
committerproller <proller@github.com>2014-01-07 02:50:45 +0400
commitc62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8 (patch)
treeebc099dab9ded4535351b3ef3115ca593c48d482 /src/httpfetch.h
parent3e728e722a788350718046daaf36f9a9c14ef1d1 (diff)
downloadminetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.tar.gz
minetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.tar.bz2
minetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.zip
Send long announce as POST, show OS in useragent
Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
Diffstat (limited to 'src/httpfetch.h')
-rw-r--r--src/httpfetch.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/httpfetch.h b/src/httpfetch.h
index f06c50e2c..e02e92b4a 100644
--- a/src/httpfetch.h
+++ b/src/httpfetch.h
@@ -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