Skip to content

Commit 47a659c

Browse files
committed
Merge branch 'contrib/github_pr_17429' into 'master'
docs(esp_http_client): document default timeout behaviour (GitHub PR) See merge request espressif/esp-idf!41363
2 parents 4371348 + 69404c8 commit 47a659c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/esp_http_client/include/esp_http_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ typedef struct {
211211
#endif
212212
const char *user_agent; /*!< The User Agent string to send with HTTP requests */
213213
esp_http_client_method_t method; /*!< HTTP Method */
214-
int timeout_ms; /*!< Network timeout in milliseconds */
214+
int timeout_ms; /*!< Network timeout in milliseconds. 0 defaults to 5 seconds */
215215
bool disable_auto_redirect; /*!< Disable HTTP automatic redirects */
216216
int max_redirection_count; /*!< Max number of redirections on receiving HTTP redirect status code, using default value if zero*/
217217
int max_authorization_retries; /*!< Max connection retries on receiving HTTP unauthorized status code, using default value if zero. Disables authorization retry if -1*/

0 commit comments

Comments
 (0)