summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-03 23:59:45 +0200
committermadmaxoft <github@xoft.cz>2014-05-03 23:59:45 +0200
commit383fe0cc1e8236852ee714ee1c65ab68571d5809 (patch)
treef6c0c57f268c4825650306fdfcdfceca2e339603
parentFixed connection encryption. (diff)
downloadcuberite-383fe0cc1e8236852ee714ee1c65ab68571d5809.tar
cuberite-383fe0cc1e8236852ee714ee1c65ab68571d5809.tar.gz
cuberite-383fe0cc1e8236852ee714ee1c65ab68571d5809.tar.bz2
cuberite-383fe0cc1e8236852ee714ee1c65ab68571d5809.tar.lz
cuberite-383fe0cc1e8236852ee714ee1c65ab68571d5809.tar.xz
cuberite-383fe0cc1e8236852ee714ee1c65ab68571d5809.tar.zst
cuberite-383fe0cc1e8236852ee714ee1c65ab68571d5809.zip
-rw-r--r--src/Protocol/Authenticator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Authenticator.cpp b/src/Protocol/Authenticator.cpp
index 41d614e58..2050393c2 100644
--- a/src/Protocol/Authenticator.cpp
+++ b/src/Protocol/Authenticator.cpp
@@ -214,7 +214,7 @@ bool cAuthenticator::AuthWithYggdrasil(AString & a_UserName, const AString & a_S
ReplaceString(ActualAddress, "%SERVERID%", a_ServerId);
AString Request;
- Request += "GET " + ActualAddress + " HTTP/1.1\r\n";
+ Request += "GET " + ActualAddress + " HTTP/1.0\r\n";
Request += "Host: " + m_Server + "\r\n";
Request += "User-Agent: MCServer\r\n";
Request += "Connection: close\r\n";