Anurag Kar
28412d8cb6
http_server : Added feature for invoking user configurable handlers during server errors
...
Added APIs :
* httpd_resp_send_err() : for sending HTTP error responses for error codes given by httpd_err_code_t. It uses TCP_NODELAY option to ensure that HTTP error responses reach the client before socket is closed.
* httpd_register_err_handler() : for registering HTTP error handler functions of type httpd_err_handler_func_t.
The default behavior, on encountering errors during processing of HTTP requests, is now to send HTTP error response (if possible) and close the underlying socket. User configurable handlers can be used to override this behavior for each error individually (except for 500 Internal Server Error).
Also fixed some typos.
Closes https://github.com/espressif/esp-idf/issues/3005
2019-02-25 09:13:39 +00:00
Ivan Grokhotkov
a241f95407
Merge branch 'bugfix/freertos_unused_xSize_backport_v3.2' into 'release/v3.2'
...
freertos: Fix unused variable warning (backport v3.2)
See merge request idf/esp-idf!4296
2019-02-25 15:44:22 +08:00
Ivan Grokhotkov
5ec58c316d
Merge branch 'bugfix/multiple_can_bugs' into 'master'
...
CAN: Add functions to clear queues and fix multiple bugs
See merge request idf/esp-idf!4279
2019-02-25 15:43:56 +08:00
Angus Gratton
7cdd19fb69
Merge branch 'ci/retry_submodule_sync' into 'master'
...
ci: Retry submodule sync 2 more times before failing
See merge request idf/esp-idf!4323
2019-02-25 14:11:51 +08:00
Angus Gratton
3ac43708e5
ci: Only use "github_sync" tagged runners to talk to GitHub
2019-02-25 02:38:27 +00:00
Angus Gratton
cced2cb147
ci: Retry submodule sync 2 more times before failing
2019-02-25 02:38:27 +00:00
Ivan Grokhotkov
1aa8e8d38e
Merge branch 'bugfix/make_extra_component_dirs' into 'master'
...
make: fix issues related to EXTRA_COMPONENT_DIRS
See merge request idf/esp-idf!4253
2019-02-22 16:00:31 +08:00
Ivan Grokhotkov
6e88822807
Merge branch 'bugfix/kconfig_flex_arg' into 'master'
...
kconfig: fix compatibility with very old versions of flex
See merge request idf/esp-idf!4263
2019-02-22 15:49:11 +08:00
Tian Hao
d877ca4438
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
...
fix 3 bugs:
1. do BLE connect (both of slave and master), it mgiht cause crash due to there's much interrupts happens effect ble code running, for example, wifi run on the same core as bluetooth controller and wifi run throughtput test.
2. do BLE scan stop or adv stop or connection stop, it might cause ASSERT or crash due to memory corrupted in controller memory poll.
3. minor bug fix, not really effect bluetooth.
2019-02-22 06:24:03 +00:00
Ivan Grokhotkov
6264557854
Merge branch 'bugfix/psram_move_qsort_setlocale_flash' into 'master'
...
psram: Move qsort and setlocale to flash
See merge request idf/esp-idf!4321
2019-02-22 12:30:04 +08:00
Angus Gratton
7f28bce42e
newlib: When using psram, link setlocale() to flash not IRAM
2019-02-22 03:28:41 +00:00
Angus Gratton
bd97b139eb
newlib: When using psram, link qsort to flash not IRAM
2019-02-22 03:28:41 +00:00
Ivan Grokhotkov
f4bc6be1d4
Merge branch 'bugfix/remove_lddeps_resolution' into 'master'
...
Remove lddeps resolution for linker script generator template
See merge request idf/esp-idf!4326
2019-02-22 11:28:10 +08:00
Renz Christian Bagaporo
24284b3afd
ldgen: remove resolution of template includes
2019-02-22 08:25:56 +08:00
Darian Leung
aaaa491c42
freertos: Fix unused variable warning
...
This commit fixes an unused variable warning when
configASSERT is undefined.
2019-02-22 01:06:44 +08:00
Angus Gratton
91aa35e831
Merge branch 'bugfix/mdns_service_memory_leak_3.2' into 'release/v3.2'
...
mdns: fix memory leak when query for service plus various other fixes (Backport v3.2)
See merge request idf/esp-idf!4287
2019-02-21 17:53:32 +08:00
David Cermak
113e829552
mdns: fix memory leak in pbuf if tcpipadapter failed to get netif
2019-02-21 06:43:23 +00:00
David Cermak
3802fddefb
mdns example: fix print result for IPv6 addresses
2019-02-21 06:43:23 +00:00
David Cermak
bb2eb9adeb
mdns: fix malfuctional query_txt
...
when running a query for a single txt, result entries were not created and attached to result structure. this issue was introduced when fixing memory leak in txt structure, which worked correctly for PTR queries, but caused trouble for TXT query.
2019-02-21 06:43:23 +00:00
David Cermak
78116afa01
mdns: fix possible crash when mdns_free called while action queue not empty
2019-02-21 06:43:23 +00:00
David Cermak
b865e72aec
mdns: fix memory leak when query for service receives multiple ptr entries for one instance
...
fixes redmine issue 27300
2019-02-21 06:43:23 +00:00
Angus Gratton
f1b2457b6c
Merge branch 'bugfix/psram_move_qsort_setlocale_flash_v3.2' into 'release/v3.2'
...
psram: Move newlib qsort() and setlocale() functions from IRAM to flash (backport v3.2)
See merge request idf/esp-idf!4322
2019-02-21 14:42:17 +08:00
Jiang Jiang Jian
46fa5654a7
Merge branch 'bugfix/btdm_fix_connection_params_update_issues_v3.2' into 'release/v3.2'
...
component/bt:fix connection params update issues (backport v3.2)
See merge request idf/esp-idf!4297
2019-02-21 11:49:16 +08:00
Ivan Grokhotkov
4ae2c4c282
Merge branch 'feature/coredump_improvements_refactoring' into 'master'
...
coredump: improvements, refactoring (separate FLASH and UART functionality)
See merge request idf/esp-idf!4207
2019-02-21 11:04:19 +08:00
Angus Gratton
bf28a1a27b
psram: Move newlib qsort() and setlocale() functions from IRAM to flash
2019-02-21 10:32:00 +11:00
Angus Gratton
5b945cb611
Merge branch 'bugfix/mdns_service_memory_leak' into 'master'
...
mdns: fix memory leak when query for service plus various other fixes
See merge request idf/esp-idf!4270
2019-02-21 06:03:48 +08:00
Angus Gratton
40a55823a9
Merge branch 'feature/anti_rollback_efuse' into 'master'
...
Support anti-rollback
See merge request idf/esp-idf!3682
2019-02-20 16:11:00 +08:00
Angus Gratton
b7beefba9e
Merge branch 'bugfix/cmake_stack_protector_v3.2' into 'release/v3.2'
...
esp32: disable stack protector for startup code (CMake) (backport v3.2)
See merge request idf/esp-idf!4250
2019-02-20 15:40:14 +08:00
Angus Gratton
0784c52131
Merge branch 'doc/add_coap_readme' into 'release/v3.2'
...
doc: add CoAP README.md(backport v3.2)
See merge request idf/esp-idf!4262
2019-02-20 15:38:43 +08:00
Angus Gratton
a7f826750b
Merge branch 'revert-00d10688' into 'release/v3.2'
...
Revert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'"
See merge request idf/esp-idf!4293
2019-02-20 15:09:59 +08:00
Angus Gratton
91f97d121f
Merge branch 'revert-23a03cf6' into 'master'
...
Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"
See merge request idf/esp-idf!4292
2019-02-20 15:09:35 +08:00
Angus Gratton
52565ce1a1
Merge branch 'bugfix/btdm_fix_connection_params_update_issues' into 'master'
...
component/bt: fix connection params issues
See merge request idf/esp-idf!4276
2019-02-20 14:18:11 +08:00
Angus Gratton
38086ae737
Merge branch 'bugfix/spiram_linker_wildcards_v3.2' into 'release/v3.2'
...
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds (backport v3.2)
See merge request idf/esp-idf!4153
2019-02-20 14:17:52 +08:00
Jiang Jiang Jian
6173660ff0
Merge branch 'bugfix/coex_lc_protect_v3.2' into 'release/v3.2'
...
component/esp32 : fix coexist lc protect cause memory corrupted
See merge request idf/esp-idf!4267
2019-02-20 11:14:22 +08:00
Angus Gratton
062893c5da
Merge branch 'bugfix/doc_master_branch_clone_note' into 'master'
...
doc: Fix invalid 'This command will clone master' note in docs
See merge request idf/esp-idf!4240
2019-02-20 08:31:05 +08:00
Angus Gratton
79b450cfb4
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds
...
Fixes bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.
https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362
2019-02-20 00:30:25 +00:00
Jiang Jiang Jian
c7fbc6dd85
Merge branch 'bugfix/wdt_compability_app_with_old_bootloader_v3.2' into 'release/v3.2'
...
esp32: Fix wdt settings in esp_restart_noos (backport v3.2)
See merge request idf/esp-idf!4294
2019-02-20 02:17:09 +08:00
Jiang Jiang Jian
3b5bba1812
Merge branch 'bugfix/fix_psram_eid_v3.2' into 'release/v3.2'
...
bugfix(psram): fix psram size acquisition method, support esp32-pico chips (backport v3.2)
See merge request idf/esp-idf!4254
2019-02-20 02:13:47 +08:00
Jiang Jiang Jian
c960bcb5e6
Merge branch 'bugfix/coex_lc_protect' into 'master'
...
component/esp32 : fix coexist lc protect cause memory corrupted
See merge request idf/esp-idf!4265
2019-02-20 02:11:37 +08:00
zwj
b4feb67b5f
component/bt:fix connection params update issues
2019-02-19 20:26:36 +08:00
Jiang Jiang Jian
578d7902af
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel_v3.2' into 'release/v3.2'
...
Bugfix/btdm crash when inquiry cancel v3.2
See merge request idf/esp-idf!4277
2019-02-19 17:57:00 +08:00
Tian Hao
64b7b0f94c
Reduce part of IRAM consumption in wifi libnet80211.a
...
It might be a little effect of WIFI max TX throughput if the limitation is cache hit rate
2019-02-19 15:43:56 +08:00
Angus Gratton
5b182eefc1
Merge branch 'bugfix/spiram_linker_wildcards' into 'master'
...
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
See merge request idf/esp-idf!4152
2019-02-19 13:28:10 +08:00
Ivan Grokhotkov
509884c5ac
Revert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'"
...
This reverts merge request !4272
2019-02-19 12:47:44 +08:00
Konstantin Kondrashov
8a656f006e
esp32: Fix wdt settings in esp_restart_noos
...
Fixed compatibility the new apps with the old bootloaders.
Closes: https://github.com/espressif/esp-idf/issues/2927
2019-02-19 12:43:35 +08:00
Ivan Grokhotkov
dc133f9fc4
Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"
...
This reverts merge request !2441
2019-02-19 12:39:47 +08:00
Angus Gratton
0c44e5bfb3
doc: Fix invalid 'This command will clone master' note in docs
...
Was accidentally considering the extra_note text as a tuple, resulted in
corrupt ..note section.
2019-02-19 04:05:39 +00:00
Angus Gratton
0f79c72704
Merge branch 'bugfix/aws_iot_backport_few_fixes_for_v3.2' into 'release/v3.2'
...
Bugfix/aws iot backport few fixes for v3.2 (backport_v3.2)
See merge request idf/esp-idf!4247
2019-02-19 11:36:18 +08:00
Tian Hao
6d6f71bbae
component/esp32 : fix coexist lc protect cause memory corrupted
...
The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.
2019-02-19 03:30:02 +00:00
Tian Hao
2cf4c02be9
component/esp32 : fix coexist lc protect cause memory corrupted
...
The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.
2019-02-19 03:28:47 +00:00