From dc0bd7fdb7740b82f27314c76ed99e48fb75896f Mon Sep 17 00:00:00 2001 From: Gaurav Aggarwal Date: Sun, 28 Jan 2024 22:31:06 +0530 Subject: [PATCH] Fix formatting Signed-off-by: Gaurav Aggarwal --- source/core_http_client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core_http_client.c b/source/core_http_client.c index ada77d2c..c4a4533a 100644 --- a/source/core_http_client.c +++ b/source/core_http_client.c @@ -2153,6 +2153,7 @@ HTTPStatus_t HTTPClient_ReceiveAndParseHttpResponse( const TransportInterface_t ( ( pResponse->respOptionFlags & HTTP_RESPONSE_DO_NOT_PARSE_BODY_FLAG ) != 0U ) ) { returnStatus = HTTPSuccess; + /* There may be dangling data if we parse with do not parse body flag. * We expose this data through body to let the applications access it. */ pResponse->pBody = ( const uint8_t * ) parsingContext.pBufferCur;