Hi!
I see the following warning in the console:
WARNING:DLIB: Actual content differs from expected content-length (0 != 561)
WARNING:DLIB: Actual content differs from expected content-length (0 != 334)
WARNING:DLIB: Actual content differs from expected content-length (0 != 295)
What do these mean?
Ciao!
britzl
July 12, 2020, 8:08pm
2
roccosaienz:
What do these mean?
It’s from the internal http server:
Server* server = internal_req->m_Server;
internal_req->m_ContentOffset = offset;
dmSocket::Result r;
request->m_Method = internal_req->m_Method;
request->m_Resource = internal_req->m_Resource;
request->m_Internal = internal_req;
server->m_HttpResponse(server->m_Userdata, request);
if (internal_req->m_Result == RESULT_OK &&
internal_req->m_TotalContentReceived != internal_req->m_Request.m_ContentLength)
{
dmLogWarning("Actual content differs from expected content-length (%d != %d)",
internal_req->m_TotalContentReceived,
internal_req->m_Request.m_ContentLength);
goto bail;
}
// Send headers and attributes even if no data is sent
if (!internal_req->m_HeaderSent)
Are you using hotreload or targeting a running dmengine on a mobile device?
Thank you! But no: no hotreload and just running the project on a mac via build as usual.
britzl
July 12, 2020, 8:14pm
4
Is the game working? What happened just before the message started showing up?
The game was working fine, nothing special happened.
What is the internal http server used for? only hotreload and link to the mobile devices?
britzl
July 12, 2020, 8:22pm
6
Yes, it’s available in debug builds and used to stream content from the editor to a running engine.
1 Like
And also in release builds when making http requests.
I misread as the http service