mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 20:17:59 +00:00
turn sending of gzipped data on
This commit is contained in:
parent
de9e9cbbb6
commit
63781fefe3
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
int game::id_num = 1;
|
int game::id_num = 1;
|
||||||
//! @todo remove after 1.3.12 is no longer allowed on the server.
|
//! @todo remove after 1.3.12 is no longer allowed on the server.
|
||||||
bool game::send_gzipped = false;
|
bool game::send_gzipped = true;
|
||||||
|
|
||||||
game::game(player_map& players, const network::connection host, const std::string name)
|
game::game(player_map& players, const network::connection host, const std::string name)
|
||||||
: player_info_(&players), id_(id_num++), name_(name), owner_(host),
|
: player_info_(&players), id_(id_num++), name_(name), owner_(host),
|
||||||
|
@ -169,7 +169,7 @@ server::server(int port, input_stream& input, const std::string& config_file, si
|
|||||||
old_games_and_users_list_(games_and_users_list_),
|
old_games_and_users_list_(games_and_users_list_),
|
||||||
last_ping_(time(NULL)),
|
last_ping_(time(NULL)),
|
||||||
last_stats_(last_ping_),
|
last_stats_(last_ping_),
|
||||||
send_gzipped_(false)
|
send_gzipped_(true)
|
||||||
{
|
{
|
||||||
load_config();
|
load_config();
|
||||||
signal(SIGHUP, reload_config);
|
signal(SIGHUP, reload_config);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user