From 5a91eaec85e710254b023ead7d631148b095d25d Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 27 Oct 2004 18:29:51 +0000 Subject: [PATCH] changed net_masterextra1 and 2 back to IP addresses (but kept their DNS names as comments), the DNS resolving takes too long, and caching it is non-trivial git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4720 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/netconn.c b/netconn.c index 2c7f0cae..9ab6cd5e 100755 --- a/netconn.c +++ b/netconn.c @@ -28,14 +28,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. cvar_t sv_public = {0, "sv_public", "0"}; static cvar_t sv_heartbeatperiod = {CVAR_SAVE, "sv_heartbeatperiod", "180"}; +// FIXME: resolve DNS on masters whenever their value changes and cache it (to avoid major delays in active servers when they heartbeat) static cvar_t sv_masters [] = { {CVAR_SAVE, "sv_master1", ""}, {CVAR_SAVE, "sv_master2", ""}, {CVAR_SAVE, "sv_master3", ""}, {CVAR_SAVE, "sv_master4", ""}, - {0, "sv_masterextra1", "ghdigital.com"}, - {0, "sv_masterextra2", "dpmaster.deathmask.net"}, + {0, "sv_masterextra1", "69.59.212.88"}, // ghdigital.com + {0, "sv_masterextra2", "66.169.205.13"}, // dpmaster.deathmask.net {0, NULL, NULL} }; -- 2.39.2