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: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Revision 14:b7e6599cacf5, committed 2016-10-21
- Comitter:
- AzureIoTClient
- Date:
- Fri Oct 21 22:11:02 2016 +0000
- Parent:
- 13:920e00014ee3
- Child:
- 15:956c6d205aa7
- Commit message:
- patch http
Changed in this revision
| httpapi_compact.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/httpapi_compact.c Thu Oct 20 17:08:18 2016 -0700 +++ b/httpapi_compact.c Fri Oct 21 22:11:02 2016 +0000 @@ -29,7 +29,7 @@ /*Codes_SRS_HTTPAPI_COMPACT_21_076: [ The HTTPAPI_ExecuteRequest shall try to read the message with the response up to 20 times. ]*/ /*Codes_SRS_HTTPAPI_COMPACT_21_077: [ If the HTTPAPI_ExecuteRequest retries 20 times to receive the message without success, it shall fail and return HTTPAPI_READ_DATA_FAILED. ]*/ -#define MAX_RECEIVE_RETRY 20 +#define MAX_RECEIVE_RETRY 70 /*Codes_SRS_HTTPAPI_COMPACT_21_078: [ The HTTPAPI_ExecuteRequest shall wait, at least, 100 milliseconds between retries. ]*/ #define RECEIVE_RETRY_INTERVAL_IN_MICROSECONDS 100 #define OPEN_RETRY_INTERVAL_IN_MICROSECONDS 100
