mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
Merge pull request #12002 from vmpn/vmpn/fix-rdg-bug
Fix respose body existence check when using RDP Gateway
This commit is contained in:
@@ -1421,7 +1421,7 @@ HttpResponse* http_response_recv(rdpTls* tls, BOOL readContentLength)
|
||||
WINPR_ASSERT(response->BodyLength == 0);
|
||||
bodyLength = response->BodyLength; /* expected body length */
|
||||
|
||||
if (readContentLength && (response->BodyLength > 0))
|
||||
if (readContentLength && (response->ContentLength > 0))
|
||||
{
|
||||
const char* cur = response->ContentType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user