Don't bother sending a expect 100 continue for heartbeats

This should help with servers that have relatively high latency
This commit is contained in:
UnknownShadow200 2017-07-13 14:06:27 +10:00
parent fda2e569e4
commit 179c7feccd

View File

@ -85,6 +85,7 @@ namespace MCGalaxy {
StartTimeLocal = StartTime.ToLocalTime();
shuttingDown = false;
Logger.Log(LogType.SystemActivity, "Starting Server");
ServicePointManager.Expect100Continue = false;
try {
if (File.Exists("Restarter.exe"))
File.Delete("Restarter.exe");