mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-10 13:45:07 -05:00
Update coreHTTP submodule for llhttp (#803)
* Use dev branch of coreHTTP * Update included http parser source files
This commit is contained in:
parent
c984275953
commit
c75769438a
16 changed files with 287 additions and 149 deletions
|
|
@ -32,9 +32,6 @@
|
|||
/* Exponential backoff retry include. */
|
||||
#include "backoff_algorithm.h"
|
||||
|
||||
/* Parser utilities. */
|
||||
#include "http_parser.h"
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
|
|
@ -54,6 +51,16 @@
|
|||
*/
|
||||
#define RETRY_BACKOFF_BASE_MS ( 500U )
|
||||
|
||||
/**
|
||||
* @brief The separator between the "https" scheme and the host in a URL.
|
||||
*/
|
||||
#define SCHEME_SEPARATOR "://"
|
||||
|
||||
/**
|
||||
* @brief The length of the "://" separator.
|
||||
*/
|
||||
#define SCHEME_SEPARATOR_LEN ( sizeof( SCHEME_SEPARATOR ) - 1 )
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
|
|
@ -134,57 +141,74 @@ HTTPStatus_t getUrlPath( const char * pcUrl,
|
|||
const char ** pcPath,
|
||||
size_t * pxPathLen )
|
||||
{
|
||||
/* http-parser status. Initialized to 1 to signify failure. */
|
||||
int lParserStatus = 1;
|
||||
struct http_parser_url xUrlParser;
|
||||
HTTPStatus_t xHTTPStatus = HTTPSuccess;
|
||||
|
||||
/* Sets all members in xUrlParser to 0. */
|
||||
http_parser_url_init( &xUrlParser );
|
||||
HTTPStatus_t xHttpStatus = HTTPSuccess;
|
||||
const char * pcHostStart = NULL;
|
||||
const char * pcPathStart = NULL;
|
||||
size_t xHostLen = 0, i = 0, xPathStartIndex = 0, xPathLen = 0;
|
||||
|
||||
if( ( pcUrl == NULL ) || ( pcPath == NULL ) || ( pxPathLen == NULL ) )
|
||||
{
|
||||
LogError( ( "NULL parameter passed to getUrlPath()." ) );
|
||||
xHTTPStatus = HTTPInvalidParameter;
|
||||
xHttpStatus = HTTPInvalidParameter;
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
lParserStatus = http_parser_parse_url( pcUrl, xUrlLen, 0, &xUrlParser );
|
||||
xHttpStatus = getUrlAddress( pcUrl, xUrlLen, &pcHostStart, &xHostLen );
|
||||
}
|
||||
|
||||
if( lParserStatus != 0 )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
LogError( ( "Error parsing the input URL %.*s. Error code: %d.",
|
||||
/* Search for the start of the path. */
|
||||
for( i = ( pcHostStart - pcUrl ) + xHostLen; i < xUrlLen; i++ )
|
||||
{
|
||||
if( pcUrl[ i ] == '/' )
|
||||
{
|
||||
pcPathStart = &pcUrl[ i ];
|
||||
xPathStartIndex = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if( pcPathStart != NULL )
|
||||
{
|
||||
/* The end of the path will be either the start of the query,
|
||||
* start of the fragment, or end of the URL. If this is an S3
|
||||
* presigned URL, then there must be a query. */
|
||||
for( i = xPathStartIndex; i < xUrlLen; i++ )
|
||||
{
|
||||
if( pcUrl[ i ] == '?' )
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
xPathLen = i - xPathStartIndex;
|
||||
}
|
||||
|
||||
if( xPathLen == 0 )
|
||||
{
|
||||
LogError( ( "Could not parse path from input URL %.*s",
|
||||
( int32_t ) xUrlLen,
|
||||
pcUrl,
|
||||
lParserStatus ) );
|
||||
xHTTPStatus = HTTPParserInternalError;
|
||||
pcUrl ) );
|
||||
xHttpStatus = HTTPNoResponse;
|
||||
}
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
*pxPathLen = ( size_t ) ( xUrlParser.field_data[ UF_PATH ].len );
|
||||
|
||||
if( *pxPathLen == 0 )
|
||||
{
|
||||
xHTTPStatus = HTTPNoResponse;
|
||||
*pcPath = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
*pcPath = &pcUrl[ xUrlParser.field_data[ UF_PATH ].off ];
|
||||
}
|
||||
*pxPathLen = xPathLen;
|
||||
*pcPath = pcPathStart;
|
||||
}
|
||||
|
||||
if( xHTTPStatus != HTTPSuccess )
|
||||
if( xHttpStatus != HTTPSuccess )
|
||||
{
|
||||
LogError( ( "Error parsing the path from URL %s. Error code: %d",
|
||||
pcUrl,
|
||||
xHTTPStatus ) );
|
||||
xHttpStatus ) );
|
||||
}
|
||||
|
||||
return xHTTPStatus;
|
||||
return xHttpStatus;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
@ -194,55 +218,76 @@ HTTPStatus_t getUrlAddress( const char * pcUrl,
|
|||
const char ** pcAddress,
|
||||
size_t * pxAddressLen )
|
||||
{
|
||||
/* http-parser status. Initialized to 1 to signify failure. */
|
||||
int lParserStatus = 1;
|
||||
struct http_parser_url xUrlParser;
|
||||
HTTPStatus_t xHTTPStatus = HTTPSuccess;
|
||||
|
||||
/* Sets all members in xUrlParser to 0. */
|
||||
http_parser_url_init( &xUrlParser );
|
||||
HTTPStatus_t xHttpStatus = HTTPSuccess;
|
||||
const char * pcHostStart = NULL;
|
||||
const char * pcHostEnd = NULL;
|
||||
size_t i = 0, xHostLen = 0;
|
||||
|
||||
if( ( pcUrl == NULL ) || ( pcAddress == NULL ) || ( pxAddressLen == NULL ) )
|
||||
{
|
||||
LogError( ( "NULL parameter passed to getUrlAddress()." ) );
|
||||
xHTTPStatus = HTTPInvalidParameter;
|
||||
xHttpStatus = HTTPInvalidParameter;
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
lParserStatus = http_parser_parse_url( pcUrl, xUrlLen, 0, &xUrlParser );
|
||||
/* Search for the start of the hostname using the "://" separator. */
|
||||
for( i = 0; i < ( xUrlLen - SCHEME_SEPARATOR_LEN ); i++ )
|
||||
{
|
||||
if( strncmp( &( pcUrl[ i ] ), SCHEME_SEPARATOR, SCHEME_SEPARATOR_LEN ) == 0 )
|
||||
{
|
||||
pcHostStart = pcUrl + i + SCHEME_SEPARATOR_LEN;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if( lParserStatus != 0 )
|
||||
if( pcHostStart == NULL )
|
||||
{
|
||||
LogError( ( "Error parsing the input URL %.*s. Error code: %d.",
|
||||
LogError( ( "Could not find \"://\" scheme separator in input URL %.*s",
|
||||
( int32_t ) xUrlLen,
|
||||
pcUrl,
|
||||
lParserStatus ) );
|
||||
xHTTPStatus = HTTPParserInternalError;
|
||||
pcUrl ) );
|
||||
xHttpStatus = HTTPParserInternalError;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Search for the end of the hostname assuming that the object path
|
||||
* is next. Assume that there is no port number as this is used for
|
||||
* S3 presigned URLs. */
|
||||
for( pcHostEnd = pcHostStart; pcHostEnd < ( pcUrl + xUrlLen ); pcHostEnd++ )
|
||||
{
|
||||
if( *pcHostEnd == '/' )
|
||||
{
|
||||
xHostLen = ( size_t ) ( pcHostEnd - pcHostStart );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
*pxAddressLen = ( size_t ) ( xUrlParser.field_data[ UF_HOST ].len );
|
||||
*pxAddressLen = xHostLen;
|
||||
|
||||
if( *pxAddressLen == 0 )
|
||||
if( xHostLen == 0 )
|
||||
{
|
||||
xHTTPStatus = HTTPNoResponse;
|
||||
LogError( ( "Could not find end of host in input URL %.*s",
|
||||
( int32_t ) xUrlLen,
|
||||
pcUrl ) );
|
||||
xHttpStatus = HTTPNoResponse;
|
||||
*pcAddress = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
*pcAddress = &pcUrl[ xUrlParser.field_data[ UF_HOST ].off ];
|
||||
*pcAddress = pcHostStart;
|
||||
}
|
||||
}
|
||||
|
||||
if( xHTTPStatus != HTTPSuccess )
|
||||
if( xHttpStatus != HTTPSuccess )
|
||||
{
|
||||
LogError( ( "Error parsing the address from URL %s. Error code %d",
|
||||
pcUrl,
|
||||
xHTTPStatus ) );
|
||||
xHttpStatus ) );
|
||||
}
|
||||
|
||||
return xHTTPStatus;
|
||||
return xHttpStatus;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\..\Common\WinPCap;..\..\..\..\..\FreeRTOS\Source\include;..\..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\..\Source\mbedtls_utils;..\..\..\..\ThirdParty\mbedtls\include;..\..\..\..\Source\AWS\jobs\source\include;..\..\..\..\Source\coreJSON\source\include;..\..\..\..\Source\Application-Protocols\coreMQTT-Agent\source\include;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Ota_Over_Http_Demo;..\..\..\..\..\FreeRTOS-Plus\Demo\Common\coreMQTT_Agent_Interface\include;..\..\..\..\..\FreeRTOS-Plus\Source\AWS\ota\source\include;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\subscription-manager;..\..\..\..\..\FreeRTOS-Plus\Source\AWS\ota\source\portable\os;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\Ota_PAL\Win32;..\..\..\..\..\FreeRTOS-Plus\Source\AWS\ota\source\dependency\3rdparty\tinycbor\src;..\..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\..\..\FreeRTOS-Plus\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser;..\..\..\..\..\\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\Ota_PAL\Win32\Code_Signature_Verification;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\HTTP_Utils;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\..\Common\WinPCap;..\..\..\..\..\FreeRTOS\Source\include;..\..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\..\Source\mbedtls_utils;..\..\..\..\ThirdParty\mbedtls\include;..\..\..\..\Source\AWS\jobs\source\include;..\..\..\..\Source\coreJSON\source\include;..\..\..\..\Source\Application-Protocols\coreMQTT-Agent\source\include;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Ota_Over_Http_Demo;..\..\..\..\..\FreeRTOS-Plus\Demo\Common\coreMQTT_Agent_Interface\include;..\..\..\..\..\FreeRTOS-Plus\Source\AWS\ota\source\include;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\subscription-manager;..\..\..\..\..\FreeRTOS-Plus\Source\AWS\ota\source\portable\os;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\Ota_PAL\Win32;..\..\..\..\..\FreeRTOS-Plus\Source\AWS\ota\source\dependency\3rdparty\tinycbor\src;..\..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\..\..\FreeRTOS-Plus\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include;..\..\..\..\..\\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\Ota_PAL\Win32\Code_Signature_Verification;..\..\..\..\..\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Common\HTTP_Utils;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>MBEDTLS_CONFIG_FILE="mbedtls_config.h";WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
|
@ -158,7 +158,9 @@
|
|||
<ClCompile Include="..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement\BufferAllocation_2.c" />
|
||||
<ClCompile Include="..\..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\NetworkInterface\WinPCap\NetworkInterface.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreMQTT-Agent\source\core_mqtt_agent.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreMQTT-Agent\source\core_mqtt_agent_command_functions.c" />
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp\sockets_wrapper.c" />
|
||||
|
|
@ -606,7 +608,7 @@
|
|||
<ClInclude Include="..\..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging\logging.h" />
|
||||
<ClInclude Include="..\..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging\logging_levels.h" />
|
||||
<ClInclude Include="..\..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging\logging_stack.h" />
|
||||
<ClInclude Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h" />
|
||||
<ClInclude Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h" />
|
||||
<ClInclude Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\include\core_http_client.h" />
|
||||
<ClInclude Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\include\core_http_client_private.h" />
|
||||
<ClInclude Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\include\core_http_config_defaults.h" />
|
||||
|
|
|
|||
|
|
@ -578,7 +578,13 @@
|
|||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c">
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c">
|
||||
<Filter>FreeRTOS+\httpparser</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c">
|
||||
<Filter>FreeRTOS+\httpparser</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c">
|
||||
<Filter>FreeRTOS+\httpparser</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Common\Ota_PAL\Win32\Code_Signature_Verification\code_signature_verification_mbedtls.c">
|
||||
|
|
@ -1051,7 +1057,7 @@
|
|||
<ClInclude Include="core_http_config.h">
|
||||
<Filter>Config</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h">
|
||||
<ClInclude Include="..\..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h">
|
||||
<Filter>FreeRTOS+\httpparser\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Common\Ota_PAL\Win32\Code_Signature_Verification\code_signature_verification.h">
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@
|
|||
/* Exponential backoff retry include. */
|
||||
#include "backoff_algorithm.h"
|
||||
|
||||
/* Parser utilities. */
|
||||
#include "http_parser.h"
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
|
|
@ -54,6 +51,16 @@
|
|||
*/
|
||||
#define RETRY_BACKOFF_BASE_MS ( 500U )
|
||||
|
||||
/**
|
||||
* @brief The separator between the "https" scheme and the host in a URL.
|
||||
*/
|
||||
#define SCHEME_SEPARATOR "://"
|
||||
|
||||
/**
|
||||
* @brief The length of the "://" separator.
|
||||
*/
|
||||
#define SCHEME_SEPARATOR_LEN ( sizeof( SCHEME_SEPARATOR ) - 1 )
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
|
|
@ -134,57 +141,74 @@ HTTPStatus_t getUrlPath( const char * pcUrl,
|
|||
const char ** pcPath,
|
||||
size_t * pxPathLen )
|
||||
{
|
||||
/* http-parser status. Initialized to 1 to signify failure. */
|
||||
int lParserStatus = 1;
|
||||
struct http_parser_url xUrlParser;
|
||||
HTTPStatus_t xHTTPStatus = HTTPSuccess;
|
||||
|
||||
/* Sets all members in xUrlParser to 0. */
|
||||
http_parser_url_init( &xUrlParser );
|
||||
HTTPStatus_t xHttpStatus = HTTPSuccess;
|
||||
const char * pcHostStart = NULL;
|
||||
const char * pcPathStart = NULL;
|
||||
size_t xHostLen = 0, i = 0, xPathStartIndex = 0, xPathLen = 0;
|
||||
|
||||
if( ( pcUrl == NULL ) || ( pcPath == NULL ) || ( pxPathLen == NULL ) )
|
||||
{
|
||||
LogError( ( "NULL parameter passed to getUrlPath()." ) );
|
||||
xHTTPStatus = HTTPInvalidParameter;
|
||||
xHttpStatus = HTTPInvalidParameter;
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
lParserStatus = http_parser_parse_url( pcUrl, xUrlLen, 0, &xUrlParser );
|
||||
xHttpStatus = getUrlAddress( pcUrl, xUrlLen, &pcHostStart, &xHostLen );
|
||||
}
|
||||
|
||||
if( lParserStatus != 0 )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
LogError( ( "Error parsing the input URL %.*s. Error code: %d.",
|
||||
/* Search for the start of the path. */
|
||||
for( i = ( pcHostStart - pcUrl ) + xHostLen; i < xUrlLen; i++ )
|
||||
{
|
||||
if( pcUrl[ i ] == '/' )
|
||||
{
|
||||
pcPathStart = &pcUrl[ i ];
|
||||
xPathStartIndex = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if( pcPathStart != NULL )
|
||||
{
|
||||
/* The end of the path will be either the start of the query,
|
||||
* start of the fragment, or end of the URL. If this is an S3
|
||||
* presigned URL, then there must be a query. */
|
||||
for( i = xPathStartIndex; i < xUrlLen; i++ )
|
||||
{
|
||||
if( pcUrl[ i ] == '?' )
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
xPathLen = i - xPathStartIndex;
|
||||
}
|
||||
|
||||
if( xPathLen == 0 )
|
||||
{
|
||||
LogError( ( "Could not parse path from input URL %.*s",
|
||||
( int32_t ) xUrlLen,
|
||||
pcUrl,
|
||||
lParserStatus ) );
|
||||
xHTTPStatus = HTTPParserInternalError;
|
||||
pcUrl ) );
|
||||
xHttpStatus = HTTPNoResponse;
|
||||
}
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
*pxPathLen = ( size_t ) ( xUrlParser.field_data[ UF_PATH ].len );
|
||||
|
||||
if( *pxPathLen == 0 )
|
||||
{
|
||||
xHTTPStatus = HTTPNoResponse;
|
||||
*pcPath = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
*pcPath = &pcUrl[ xUrlParser.field_data[ UF_PATH ].off ];
|
||||
}
|
||||
*pxPathLen = xPathLen;
|
||||
*pcPath = pcPathStart;
|
||||
}
|
||||
|
||||
if( xHTTPStatus != HTTPSuccess )
|
||||
if( xHttpStatus != HTTPSuccess )
|
||||
{
|
||||
LogError( ( "Error parsing the path from URL %s. Error code: %d",
|
||||
pcUrl,
|
||||
xHTTPStatus ) );
|
||||
xHttpStatus ) );
|
||||
}
|
||||
|
||||
return xHTTPStatus;
|
||||
return xHttpStatus;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
@ -194,55 +218,76 @@ HTTPStatus_t getUrlAddress( const char * pcUrl,
|
|||
const char ** pcAddress,
|
||||
size_t * pxAddressLen )
|
||||
{
|
||||
/* http-parser status. Initialized to 1 to signify failure. */
|
||||
int lParserStatus = 1;
|
||||
struct http_parser_url xUrlParser;
|
||||
HTTPStatus_t xHTTPStatus = HTTPSuccess;
|
||||
|
||||
/* Sets all members in xUrlParser to 0. */
|
||||
http_parser_url_init( &xUrlParser );
|
||||
HTTPStatus_t xHttpStatus = HTTPSuccess;
|
||||
const char * pcHostStart = NULL;
|
||||
const char * pcHostEnd = NULL;
|
||||
size_t i = 0, xHostLen = 0;
|
||||
|
||||
if( ( pcUrl == NULL ) || ( pcAddress == NULL ) || ( pxAddressLen == NULL ) )
|
||||
{
|
||||
LogError( ( "NULL parameter passed to getUrlAddress()." ) );
|
||||
xHTTPStatus = HTTPInvalidParameter;
|
||||
xHttpStatus = HTTPInvalidParameter;
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
lParserStatus = http_parser_parse_url( pcUrl, xUrlLen, 0, &xUrlParser );
|
||||
/* Search for the start of the hostname using the "://" separator. */
|
||||
for( i = 0; i < ( xUrlLen - SCHEME_SEPARATOR_LEN ); i++ )
|
||||
{
|
||||
if( strncmp( &( pcUrl[ i ] ), SCHEME_SEPARATOR, SCHEME_SEPARATOR_LEN ) == 0 )
|
||||
{
|
||||
pcHostStart = pcUrl + i + SCHEME_SEPARATOR_LEN;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if( lParserStatus != 0 )
|
||||
if( pcHostStart == NULL )
|
||||
{
|
||||
LogError( ( "Error parsing the input URL %.*s. Error code: %d.",
|
||||
LogError( ( "Could not find \"://\" scheme separator in input URL %.*s",
|
||||
( int32_t ) xUrlLen,
|
||||
pcUrl,
|
||||
lParserStatus ) );
|
||||
xHTTPStatus = HTTPParserInternalError;
|
||||
pcUrl ) );
|
||||
xHttpStatus = HTTPParserInternalError;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Search for the end of the hostname assuming that the object path
|
||||
* is next. Assume that there is no port number as this is used for
|
||||
* S3 presigned URLs. */
|
||||
for( pcHostEnd = pcHostStart; pcHostEnd < ( pcUrl + xUrlLen ); pcHostEnd++ )
|
||||
{
|
||||
if( *pcHostEnd == '/' )
|
||||
{
|
||||
xHostLen = ( size_t ) ( pcHostEnd - pcHostStart );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( xHTTPStatus == HTTPSuccess )
|
||||
if( xHttpStatus == HTTPSuccess )
|
||||
{
|
||||
*pxAddressLen = ( size_t ) ( xUrlParser.field_data[ UF_HOST ].len );
|
||||
*pxAddressLen = xHostLen;
|
||||
|
||||
if( *pxAddressLen == 0 )
|
||||
if( xHostLen == 0 )
|
||||
{
|
||||
xHTTPStatus = HTTPNoResponse;
|
||||
LogError( ( "Could not find end of host in input URL %.*s",
|
||||
( int32_t ) xUrlLen,
|
||||
pcUrl ) );
|
||||
xHttpStatus = HTTPNoResponse;
|
||||
*pcAddress = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
*pcAddress = &pcUrl[ xUrlParser.field_data[ UF_HOST ].off ];
|
||||
*pcAddress = pcHostStart;
|
||||
}
|
||||
}
|
||||
|
||||
if( xHTTPStatus != HTTPSuccess )
|
||||
if( xHttpStatus != HTTPSuccess )
|
||||
{
|
||||
LogError( ( "Error parsing the address from URL %s. Error code %d",
|
||||
pcUrl,
|
||||
xHTTPStatus ) );
|
||||
xHttpStatus ) );
|
||||
}
|
||||
|
||||
return xHTTPStatus;
|
||||
return xHttpStatus;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>MBEDTLS_CONFIG_FILE="mbedtls_config.h";WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
|
@ -163,7 +163,9 @@
|
|||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_freertos_port.c" />
|
||||
<ClCompile Include="..\..\..\Source\Utilities\backoff_algorithm\source\backoff_algorithm.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c" />
|
||||
<ClCompile Include="..\..\..\ThirdParty\mbedtls\library\aes.c">
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TurnOffAllWarnings</WarningLevel>
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">TurnOffAllWarnings</WarningLevel>
|
||||
|
|
@ -588,7 +590,7 @@
|
|||
<ClInclude Include="..\..\..\Source\FreeRTOS-Plus-TCP\include\FreeRTOS_errno_TCP.h" />
|
||||
<ClInclude Include="..\..\..\Source\Utilities\mbedtls_freertos\threading_alt.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\include\core_http_client.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h" />
|
||||
<ClInclude Include="..\..\..\Source\Utilities\backoff_algorithm\source\include\backoff_algorithm.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aesni.h" />
|
||||
|
|
|
|||
|
|
@ -442,7 +442,13 @@
|
|||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c">
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_bio_freertos_plus_tcp.c">
|
||||
|
|
@ -528,7 +534,7 @@
|
|||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\include\core_http_client.h">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h">
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h">
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_plaintext;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_plaintext;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
|
@ -161,7 +161,9 @@
|
|||
<ClCompile Include="..\..\..\Source\Application-Protocols\network_transport\using_plaintext\using_plaintext.c" />
|
||||
<ClCompile Include="..\..\..\Source\Utilities\backoff_algorithm\source\backoff_algorithm.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c" />
|
||||
<ClCompile Include="..\..\..\..\FreeRTOS-Plus\Demo\Common\Logging\windows\Logging_WinSim.c" />
|
||||
<ClCompile Include="..\Common\main.c" />
|
||||
<ClCompile Include="DemoTasks\PlainTextHTTPExample.c" />
|
||||
|
|
@ -198,7 +200,7 @@
|
|||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\include\core_http_client_private.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\include\core_http_config_defaults.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreMQTT\source\interface\transport_interface.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp\sockets_wrapper.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\network_transport\using_plaintext\using_plaintext.h" />
|
||||
<ClInclude Include="..\..\..\Source\FreeRTOS-Plus-TCP\include\FreeRTOS_errno_TCP.h" />
|
||||
|
|
|
|||
|
|
@ -136,7 +136,13 @@
|
|||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c">
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp\sockets_wrapper.c">
|
||||
|
|
@ -216,7 +222,7 @@
|
|||
<ClInclude Include="..\..\..\..\FreeRTOS\Source\include\projdefs.h">
|
||||
<Filter>FreeRTOS\Source\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h">
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\Source\FreeRTOS-Plus-TCP\include\FreeRTOS_errno_TCP.h">
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories);..\..\..\Source\coreJSON\source\include;..\..\..\Source\AWS\sigv4\source\include</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories);..\..\..\Source\coreJSON\source\include;..\..\..\Source\AWS\sigv4\source\include</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>MBEDTLS_CONFIG_FILE="mbedtls_config.h";WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
|
@ -165,7 +165,9 @@
|
|||
<ClCompile Include="..\..\..\Source\Utilities\backoff_algorithm\source\backoff_algorithm.c" />
|
||||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_bio_freertos_plus_tcp.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c" />
|
||||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_freertos_port.c" />
|
||||
<ClCompile Include="..\..\..\ThirdParty\mbedtls\library\aes.c">
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TurnOffAllWarnings</WarningLevel>
|
||||
|
|
@ -594,7 +596,7 @@
|
|||
<ClInclude Include="..\..\..\Source\AWS\sigv4\source\include\sigv4_quicksort.h" />
|
||||
<ClInclude Include="..\..\..\Source\coreJSON\source\include\core_json.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp\sockets_wrapper.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h" />
|
||||
<ClInclude Include="..\..\..\Source\Utilities\backoff_algorithm\source\include\backoff_algorithm.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aesni.h" />
|
||||
|
|
|
|||
|
|
@ -444,7 +444,13 @@
|
|||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c">
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\coreJSON\source\core_json.c">
|
||||
|
|
@ -545,7 +551,7 @@
|
|||
<ClInclude Include="..\..\..\..\FreeRTOS\Source\include\projdefs.h">
|
||||
<Filter>FreeRTOS\Source\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h">
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h">
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>MBEDTLS_CONFIG_FILE="mbedtls_config.h";WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
|
@ -163,7 +163,9 @@
|
|||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_freertos_port.c" />
|
||||
<ClCompile Include="..\..\..\Source\Utilities\backoff_algorithm\source\backoff_algorithm.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c" />
|
||||
<ClCompile Include="..\..\..\ThirdParty\mbedtls\library\aes.c">
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TurnOffAllWarnings</WarningLevel>
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">TurnOffAllWarnings</WarningLevel>
|
||||
|
|
@ -588,7 +590,7 @@
|
|||
<ClInclude Include="..\..\..\Source\Application-Protocols\network_transport\using_mbedtls\using_mbedtls.h" />
|
||||
<ClInclude Include="..\..\..\Source\FreeRTOS-Plus-TCP\include\FreeRTOS_errno_TCP.h" />
|
||||
<ClInclude Include="..\..\..\Source\Utilities\mbedtls_freertos\threading_alt.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h" />
|
||||
<ClInclude Include="..\..\..\Source\Utilities\backoff_algorithm\source\include\backoff_algorithm.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aesni.h" />
|
||||
|
|
|
|||
|
|
@ -442,7 +442,13 @@
|
|||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c">
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_bio_freertos_plus_tcp.c">
|
||||
|
|
@ -525,7 +531,7 @@
|
|||
<ClInclude Include="..\..\..\..\FreeRTOS\Source\include\projdefs.h">
|
||||
<Filter>FreeRTOS\Source\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h">
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h">
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\..\..\..\Source\FreeRTOS-Plus-Trace\Include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\include;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\BufferManagement;..\..\..\..\FreeRTOS-Plus\Source\FreeRTOS-Plus-TCP\portable\Compiler\MSVC;..\..\..\..\FreeRTOS-Plus\Source\Utilities\logging;..\..\Common\WinPCap;..\..\..\..\FreeRTOS\Source\include;..\..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\..\Source\Application-Protocols\coreMQTT\source\include;..\..\..\Source\Application-Protocols\coreMQTT\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\include;..\..\..\Source\Application-Protocols\coreHTTP\source\interface;..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include;..\..\..\Source\Utilities\backoff_algorithm\source\include;..\..\..\Source\Application-Protocols\network_transport\sockets_wrapper\freertos_plus_tcp;..\..\..\Source\Application-Protocols\network_transport\using_mbedtls;..\..\..\Source\Utilities\mbedtls_freertos;..\..\..\..\Source\mbedtls_utils;..\..\..\ThirdParty\mbedtls\include;..\Common;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>MBEDTLS_CONFIG_FILE="mbedtls_config.h";WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
|
@ -163,7 +163,9 @@
|
|||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_freertos_port.c" />
|
||||
<ClCompile Include="..\..\..\Source\Utilities\backoff_algorithm\source\backoff_algorithm.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c" />
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c" />
|
||||
<ClCompile Include="..\..\..\ThirdParty\mbedtls\library\aes.c">
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">TurnOffAllWarnings</WarningLevel>
|
||||
<WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">TurnOffAllWarnings</WarningLevel>
|
||||
|
|
@ -588,7 +590,7 @@
|
|||
<ClInclude Include="..\..\..\Source\Application-Protocols\network_transport\using_mbedtls\using_mbedtls.h" />
|
||||
<ClInclude Include="..\..\..\Source\FreeRTOS-Plus-TCP\include\FreeRTOS_errno_TCP.h" />
|
||||
<ClInclude Include="..\..\..\Source\Utilities\mbedtls_freertos\threading_alt.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h" />
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h" />
|
||||
<ClInclude Include="..\..\..\Source\Utilities\backoff_algorithm\source\include\backoff_algorithm.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h" />
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aesni.h" />
|
||||
|
|
|
|||
|
|
@ -442,7 +442,13 @@
|
|||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\core_http_client.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.c">
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\api.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\http.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\src\llhttp.c">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\Source\Utilities\mbedtls_freertos\mbedtls_bio_freertos_plus_tcp.c">
|
||||
|
|
@ -525,7 +531,7 @@
|
|||
<ClInclude Include="..\..\..\..\FreeRTOS\Source\include\projdefs.h">
|
||||
<Filter>FreeRTOS\Source\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\http_parser\http_parser.h">
|
||||
<ClInclude Include="..\..\..\Source\Application-Protocols\coreHTTP\source\dependency\3rdparty\llhttp\include\llhttp.h">
|
||||
<Filter>FreeRTOS+\FreeRTOS IoT Libraries\standard\coreHTTP\include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\ThirdParty\mbedtls\include\mbedtls\aes.h">
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit c4f04ea87d044b4a95b18aa8ba50a3e707c603f6
|
||||
Subproject commit 0fbca6ddabe898f9191c8af1f0285b000d492caf
|
||||
|
|
@ -32,7 +32,7 @@ dependencies:
|
|||
path: "FreeRTOS-Plus/Source/AWS/sigv4"
|
||||
|
||||
- name: "coreHTTP"
|
||||
version: "v2.1.0"
|
||||
version: "0fbca6d"
|
||||
repository:
|
||||
type: "git"
|
||||
url: "https://github.com/FreeRTOS/coreHTTP.git"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue