mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Enable BASIC_AUTH in both test configs (test-only). Pin the WWW-Authenticate retry path, the credential-less 401 retry capped by max_authorization_retries, and the independently gated preconfigured Basic auth.
24 lines
948 B
Plaintext
24 lines
948 B
Plaintext
# General options for additional checks
|
|
CONFIG_HEAP_POISONING_COMPREHENSIVE=y
|
|
CONFIG_COMPILER_WARN_WRITE_STRINGS=y
|
|
CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y
|
|
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
|
|
CONFIG_COMPILER_STACK_CHECK_MODE_STRONG=y
|
|
CONFIG_COMPILER_STACK_CHECK=y
|
|
|
|
CONFIG_ESP_TASK_WDT_EN=n
|
|
|
|
# Enable custom transport for mock testing
|
|
CONFIG_ESP_HTTP_CLIENT_ENABLE_CUSTOM_TRANSPORT=y
|
|
|
|
# Enable HTTP Basic Authentication so the 401-retry path (auth_type
|
|
# auto-detected from WWW-Authenticate and process_again set) is compiled
|
|
# in and can be pinned by test_http_client_auth.c. Off by default upstream
|
|
# (unencrypted credentials without TLS); this is a test-only config, not a
|
|
# client-code change - the mock transport never touches the network.
|
|
CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH=y
|
|
|
|
# Some of the test apps allocate 2048 size buffers on the stack.
|
|
# Increase the default stack size to accommodate for that
|
|
CONFIG_ESP_MAIN_TASK_STACK_SIZE=8192
|