]> granicus.if.org Git - esp-idf/commitdiff
examples: increase stack size in http_request
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 11 Apr 2017 10:38:50 +0000 (18:38 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 11 Apr 2017 11:01:41 +0000 (19:01 +0800)
Previously the stack size was 2048 bytes, which caused stack overflow
to be detected after one or two runs of the example.

examples/protocols/http_request/main/http_request_example_main.c

index ebf7781548339720779a3840a3863239dc260b36..be3bb9e364b47f076f2d0ede52f0349d3dcec8b0 100644 (file)
@@ -176,5 +176,5 @@ void app_main()
 {
     ESP_ERROR_CHECK( nvs_flash_init() );
     initialise_wifi();
-    xTaskCreate(&http_get_task, "http_get_task", 2048, NULL, 5, NULL);
+    xTaskCreate(&http_get_task, "http_get_task", 4096, NULL, 5, NULL);
 }