Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: iothub_client_sample_http simplesample_http temp_sensor_anomaly
Revision 10:b012891d0a54, committed 2016-01-28
- Comitter:
- AzureIoTClient
- Date:
- Thu Jan 28 09:57:44 2016 -0800
- Parent:
- 9:0b2cab6cfc60
- Child:
- 11:495deb847d9c
- Commit message:
- v1.0.0-preview.9
Changed in this revision
| iothubtransporthttp.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/iothubtransporthttp.c Fri Jan 15 15:49:36 2016 -0800
+++ b/iothubtransporthttp.c Thu Jan 28 09:57:44 2016 -0800
@@ -205,7 +205,7 @@
(HTTPHeaders_AddHeaderNameValuePair(handleData->eventHTTPrequestHeaders, "Authorization", " ") == HTTP_HEADERS_OK) &&
(HTTPHeaders_AddHeaderNameValuePair(handleData->eventHTTPrequestHeaders, "Accept", "application/json") == HTTP_HEADERS_OK) &&
(HTTPHeaders_AddHeaderNameValuePair(handleData->eventHTTPrequestHeaders, "Connection", "Keep-Alive") == HTTP_HEADERS_OK) &&
- (HTTPHeaders_AddHeaderNameValuePair(handleData->eventHTTPrequestHeaders, "User-Agent", CLIENT_DEVICE_TYPE_PREFIX IOTHUB_SDK_VERSION) == HTTP_HEADERS_OK)
+ (HTTPHeaders_AddHeaderNameValuePair(handleData->eventHTTPrequestHeaders, "User-Agent", CLIENT_DEVICE_TYPE_PREFIX CLIENT_DEVICE_BACKSLASH IOTHUB_SDK_VERSION) == HTTP_HEADERS_OK)
))
{
result = false;
@@ -820,7 +820,7 @@
{
bool isFirst = true;
PDLIST_ENTRY actual;
- bool keepGoing = true; /*keepGoing gets sometimes to false from within the loop*/
+ bool keepGoing = true; /*keepGoing gets sometimes to false from within the loop*/
/*either all the items enter the list or only some*/
result = MAKE_PAYLOAD_OK; /*optimistically initializing it*/
while (keepGoing && ((actual = handleData->waitingToSend->Flink) != handleData->waitingToSend))
