Azure IoT common library

Fork of azure_c_shared_utility by Azure IoT

Revision:
14:b7e6599cacf5
Parent:
13:920e00014ee3
Child:
15:956c6d205aa7
--- 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