Commit Graph

1104 Commits

Author SHA1 Message Date
Ashish Sharma a4c40112c3 fix: removes deprecated http_crypto sources 2026-03-30 13:45:28 +08:00
Ashish Sharma 9681ec0f9c fix: fixes failing dynamic buffer tests 2026-03-30 13:45:28 +08:00
Mahavir Jain 4322004453 Merge branch 'contrib/github_pr_18310_v5.5' into 'release/v5.5'
fix(esp_http_server): Dispatch PONG frames to WebSocket handler (GitHub PR) (v5.5)

See merge request espressif/esp-idf!46656
2026-03-30 10:24:02 +05:30
Ashish Sharma 4425dbf4af feat(http_server): adds example to test server pong response 2026-03-16 16:55:54 +08:00
Ashish Sharma 6f392e6fd6 feat(http_server): improve websocket server handling
1. Adds post handshake callback
2. Removes requirement to handle HTTP_GET message in websocket handler

Closes https://github.com/espressif/esp-idf/issues/18215
2026-03-16 13:57:59 +08:00
Jiang Jiang Jian 99492e859b Merge branch 'ci/fix_mqtt_sll_test_v5.x' into 'release/v5.5'
ci(mqtt): use QoS=1 for control messages in SSL test

See merge request espressif/esp-idf!44092
2026-03-03 19:37:33 +08:00
Mahavir Jain 53c7697465 Merge branch 'bugfix/esp_local_ctrl_arg_check_v5.5' into 'release/v5.5'
fix(esp_local_ctrl): validate payload_case matches msg_type in command dispatcher (v5.5)

See merge request espressif/esp-idf!45925
2026-02-27 09:43:33 +05:30
Alexey Gerenkov 0c7eac2565 Merge branch 'feature/picolibc_v5.5' into 'release/v5.5'
feat(build): add Picolibc support (v5.5)

See merge request espressif/esp-idf!44108
2026-02-26 18:12:58 +08:00
Mahavir Jain dbc3098182 Merge branch 'contrib/github_pr_17641_v5.5' into 'release/v5.5'
Allow the https server to request client certs only with OPTIONAL (GitHub PR) (v5.5)

See merge request espressif/esp-idf!45797
2026-02-18 18:03:52 +05:30
Mahavir Jain ab9e5cc34d docs(protocomm): recommend using security2 scheme for production purpose 2026-02-17 11:47:12 +05:30
0xFEEDC0DE64 2ed84eb04b feat(esp_http_server): Allow the https server to request client certs optionally
Closes https://github.com/espressif/esp-idf/pull/17641
2026-02-11 17:49:44 +08:00
Alexey Lapshin 250db2464d fix(icmp_echo): fix incorrect test expectation logic 2026-02-05 13:40:11 +07:00
Bogdan Kolendovskyy 7518cae20f ci(mqtt): use QoS=1 for control messages in SSL test
SSL test relies on the device receiving a control message during the test, which was being sent
with QoS=0. Send the control message with QoS=1 to avoid failures due to poor network connection.
2026-02-03 13:05:26 +01:00
hrushikesh.bhosale e1caea2e14 fix(esp_http_client): Fixed the esp_http_client example test
- remove the dut expect which was expect error code for invalid
request, as the HTTP_EVENT_DISCONNECTED is not getting triggered
2026-01-27 17:22:39 +05:30
hrushikesh.bhosale 6733adaccc fix(esp_http_client): Fixed the example pytest
Pytest was expect the positive content length for async req
2026-01-27 17:08:08 +05:30
Jiang Jiang Jian f32cadd971 Merge branch 'fix/enable_p4v3_tests_v5.5' into 'release/v5.5'
fix(ci): re-enabled ESP32P4 tests on different HW vers (v5.5)

See merge request espressif/esp-idf!44453
2026-01-16 14:31:48 +08:00
Chen Yudong 5ffa9d5dcb fix(example): add nvs_flash to mqtt ssl_ds requirement 2026-01-15 12:57:26 +08:00
Ondrej Kosta 498989ea10 fix(ci): re-enabled ESP32P4 tests on different HW vers 2026-01-06 22:17:58 +08:00
Ondrej Kosta 3fe406aa92 feat(ci): updated Ethernet tests to align with new runners 2025-12-01 16:16:03 +01:00
hrushikesh.bhosale b554cbe9b4 fix(http_server): Fixed response status code for temporary redirect
Closes https://github.com/espressif/esp-idf/issues/17791
2025-11-04 15:05:07 +05:30
Ondrej Kosta c80867e16a fix(examples): fix version ref. to ethernet_init in static_ip example 2025-10-21 09:57:06 +02:00
hrushikesh.bhosale 067faa25c2 fix(http_server): Fix CI test failure async_handler
pytest trying to hit the server, before registration
of URI handlers or starting of server
2025-10-13 10:36:52 +05:30
Mahavir Jain b966e396d3 Merge branch 'feat/support_authentication_feature_for_ws_v5.5' into 'release/v5.5'
Added pre handshake callback for websocket (v5.5)

See merge request espressif/esp-idf!41037
2025-09-02 09:18:29 +05:30
hrushikesh.bhosale 80b26b6c2b feat(esp_http_client): Make https_async request under CERT BUNDLE config
Make https_async rqeuest under MBEDTLS_CERTIFICATE_BUNDLE config
2025-08-22 16:31:15 +05:30
muhaidong 8fe3d573d2 fix(ci): increase the bin size of esp-mqtt ssl example with psk verification 2025-08-21 10:11:09 +08:00
muhaidong 12e1db7753 fix(ci): increased app partition size in mqtt5 example 2025-08-20 19:52:49 +08:00
hrushikesh.bhosale 2ac79a842c fix(esp_http_client): Moved httpd_async request from cert_pem to crt_bundle
Moved the httpd_async request from cert_pem to esp_crt_bundle. As cert_pem
is alredy tested for howmyssl URL
2025-08-05 16:25:40 +05:30
hrushikesh.bhosale 415a05a6a5 feat(esp_http_server): Added pre handshake callback for websocket
1. If the user wants authenticate the request, then user needs to do
this before upgrading the protocol to websocket.
2. To achieve this, added pre_handshake_callack, which will execute
before handshake, i.e. before switching protocol.
2025-08-04 20:58:54 +05:30
Jiang Jiang Jian 9c4aa443b0 Merge branch 'bugfix/enable_ipv6_if_nan_v5.5' into 'release/v5.5'
bugfix(wifi): Enable IPv6 support via LWIP_IPV6 when WiFi Aware(NAN) is enabled (Backport v5.5)

See merge request espressif/esp-idf!40486
2025-07-24 00:18:29 +08:00
Jack 48336d423b mqtt/ssl_ds: use larger partition table in the example 2025-07-23 19:53:54 +08:00
Aditya Patwardhan a519699588 fix(mqtt): Increased partition size to fix build failure 2025-07-23 15:38:33 +05:30
Xiao Xufeng 6cb9214520 wss_server: use large partition table config 2025-06-18 12:30:24 +08:00
Jiang Jiang Jian e44e7ce2f9 Merge branch 'bugfix/fix_tls1_3_dynamic_buffer_build_v5.5' into 'release/v5.5'
fix(mbedtls): Fix failing build with TLS1.3 only and dynamic buffer enabled (v5.5)

See merge request espressif/esp-idf!39879
2025-06-17 15:39:50 +08:00
Jiang Jiang Jian 4684d3dffc Merge branch 'bugfix/http_client_test_failure_v5.5' into 'release/v5.5'
fix: update root certificate for postman-echo endpoint (v5.5)

See merge request espressif/esp-idf!39846
2025-06-17 15:02:42 +08:00
Ashish Sharma 156ead0cd5 fix(mbedtls): Fixes failing TLS 1.3 server handshake
Closes https://github.com/espressif/esp-idf/issues/15984
2025-06-16 11:27:48 +05:30
Ashish Sharma 08d78dcd7e fix(esp_tls): fix failing build with TLS1.3 only and dynamic buffer 2025-06-16 09:22:57 +08:00
Mahavir Jain 881c5a9795 fix: update root certificate for postman-echo endpoint
The certificate chain for postman-echo endpoint has switched to
Let's Encrypt root CA
2025-06-13 11:03:24 +05:30
Xiao Xufeng 375d675cdc https_server: use larger partition table in the example 2025-05-20 19:52:07 +08:00
yinqingzhao 79d2bedbf9 fix(wifi): fix build issue by modifying parttion table of file_server example 2025-05-19 21:11:30 +08:00
Ondrej Kosta eba9549bbc Merge branch 'feat/eth_mac_filter' into 'master'
feat(esp_eth): added option to set MAC filter for mcast

Closes IDF-12503 and IDFGH-14897

See merge request espressif/esp-idf!36944
2025-04-30 19:38:02 +08:00
Mahavir Jain ff555428d1 Merge branch 'feat/dynamic_buffer_tls1.3' into 'master'
feat(mbedtls): add support for dynamic buffer for TLS1.3

Closes IDFGH-14708, IDF-12469, IDF-9178, and IDF-1725

See merge request espressif/esp-idf!38258
2025-04-30 17:52:43 +08:00
Ondrej Kosta e941910c0f feat(esp_eth): Added destination MAC address filter configuration interface 2025-04-29 13:54:56 +02:00
Yin Qing Zhao 7141b9558b Merge branch 'feat/chip_esp32c5_eco2_support_wifi' into 'master'
feat/chip esp32c5 eco2 support wifi

Closes IDF-10602, IDF-10616, IDF-10592, IDF-10590, IDF-10605, IDF-10604, IDF-10618, IDF-10617, IDF-10588, IDF-10598, IDF-10609, IDF-10610, IDF-10600, IDF-10589, IDF-10607, IDF-10608, IDF-10596, IDF-12857, IDF-11002, IDF-10601, IDF-10579, IDF-8641, IDF-8640, IDF-8639, IDF-8638, PM-403, AX-1139, AX-1151, AX-1153, AX-1155, WIFIBUG-1159, and WIFIBUG-1146

See merge request espressif/esp-idf!38566
2025-04-28 21:06:18 +08:00
hrushikesh.bhosale 17a1a0dfb9 feat(async_handler): Adding test for long uri requests
Adding test for two /long async requests.
2025-04-28 14:57:21 +08:00
hrushikesh.bhosale b6d4fa2c2e fix(async_handler): Async handler example scratch buffer fix
1. In httpd_req_async_handler_begin, the httpd_req_aux is locally malloced
and data is  done memcpy to local httpd_req_aux from request'ss httpd_req_aux for
async request use-case, this causes scartch pointer from these two structs
pointing to same memory address.
2. In current workflow, the request's sratch buffer is freed in httpd_parse.c
httpd_req_cleanup api. Therefore if the user try to fetch the data (like headers)
from the scratch buffer, data will be not available.
3. Each request should have the deep copy of the scratch buffer. To retrive
the data later.

Closes https://github.com/espressif/esp-idf/issues/15587
2025-04-28 14:57:21 +08:00
yinqingzhao dd9f8bfcbc feat(wifi): chip esp32c5 eco2 support wifi 2025-04-28 10:52:55 +08:00
Mahavir Jain fbc38a95ec Merge branch 'fix/async_handler_example_stack_overflow_issue' into 'master'
fix(esp_http_server): Async handler example stack overflow fix

See merge request espressif/esp-idf!38586

Related: https://github.com/espressif/esp-idf/issues/15587
2025-04-25 14:52:01 +08:00
hrushikesh.bhosale 160336fe90 fix(esp_http_server): Async handler example stack overflow fix
1. In async handler example, on hitting /long URI and closing the
connection forcefully from client (example ctrl + c) cause more stack
size (almost 200 bytes) than successfull request.
2. The connection should be closed from the server as soon as the client
closes the connect (i.e. handler should return ESP_FAIL to close the
connection)
2025-04-25 11:00:10 +05:30
Aditya Patwardhan cb9ffd9cf6 fix(http_server): Fixed CI build test rules for the example 2025-04-24 15:57:12 +05:30
Ashish Sharma 415e0f3c86 feat(mbedtls): add support for dynamic buffer for TLS1.3
Closes https://github.com/espressif/esp-idf/issues/15448
2025-04-24 12:05:36 +08:00