diff options
author | proller <proller@github.com> | 2014-01-07 02:50:45 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2014-01-07 02:50:45 +0400 |
commit | c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8 (patch) | |
tree | ebc099dab9ded4535351b3ef3115ca593c48d482 /src/httpfetch.h | |
parent | 3e728e722a788350718046daaf36f9a9c14ef1d1 (diff) | |
download | hax-minetest-server-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.tar.gz hax-minetest-server-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.h | 9 |
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 |