1
0
Fork 0

Hotfixed Chunked transfer encoding in Yggdrasil.

By using HTTP/1.0, we're disabling the support for the Chunked encoding on the server. This is a hotfix for #979, a proper parser implementation is still needed.
This commit is contained in:
madmaxoft 2014-05-03 23:59:45 +02:00
parent eaf3dcb9f7
commit 383fe0cc1e
1 changed files with 1 additions and 1 deletions

View File

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