Add config option to disable the localhost workaround

There are some network configurations in which it's undesirable; such as
reverse tunneling through ssh. These are obscure enough to allow leaving
the option undocumented (in the example config file).
This commit is contained in:
2021-10-21 20:58:41 +02:00
parent e2c85aa03f
commit 70c3650ee1
3 changed files with 5 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ namespace settings {
extern int DBSAVEINTERVAL;
extern int SHARDPORT;
extern std::string SHARDSERVERIP;
extern bool LOCALHOSTWORKAROUND;
extern time_t TIMEOUT;
extern int VIEWDISTANCE;
extern bool SIMULATEMOBS;