turn sending of gzipped data on

This commit is contained in:
Gunter Labes 2008-01-04 11:35:52 +00:00
parent de9e9cbbb6
commit 63781fefe3
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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);