[WebIO] Fix moddownload (don't enforce content length)

This commit is contained in:
momo5502 2017-05-25 12:40:39 +02:00
parent 2066bab4fc
commit 02741fff00

View File

@ -313,8 +313,7 @@ namespace Utils
length = sizeof(statusCode);
if (HttpQueryInfo(this->hFile, HTTP_QUERY_FLAG_NUMBER | HTTP_QUERY_CONTENT_LENGTH, &contentLength, &length, nullptr) == FALSE)
{
this->closeConnection();
return "";
contentLength = 0;
}
std::string returnBuffer;