Skip to content

Commit 05313cf

Browse files
authored
Merge branch 'espressif:release/v5.4' into release/v5.4
2 parents b340ac4 + 6b7b8ea commit 05313cf

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

.gitlab/ci/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ variables:
4040
GIT_FETCH_EXTRA_FLAGS: "--no-recurse-submodules --prune --prune-tags"
4141
# we're using .cache folder for caches
4242
GIT_CLEAN_FLAGS: -ffdx -e .cache/
43-
LATEST_GIT_TAG: v5.4-rc1
43+
LATEST_GIT_TAG: v5.4
4444

4545
SUBMODULE_FETCH_TOOL: "tools/ci/ci_fetch_submodule.py"
4646
# by default we will fetch all submodules

components/esp_http_server/include/esp_http_server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ typedef enum {
569569
*/
570570
HTTPD_501_METHOD_NOT_IMPLEMENTED,
571571

572-
/* When HTTP version is not 1.1 */
572+
/* When HTTP version is not 1.1 or 1.0*/
573573
HTTPD_505_VERSION_NOT_SUPPORTED,
574574

575575
/* Returned when http_parser halts parsing due to incorrect

components/esp_http_server/src/httpd_parse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ static esp_err_t verify_url (http_parser *parser)
8585
strlcpy((char *)r->uri, at, (length + 1));
8686
ESP_LOGD(TAG, LOG_FMT("received URI = %s"), r->uri);
8787

88-
/* Make sure version is HTTP/1.1 */
89-
if (!((parser->http_major == 1) && (parser->http_minor == 1))) {
88+
/* Make sure version is HTTP/1.1 or HTTP/1.0 (legacy compliance purpose) */
89+
if (!((parser->http_major == 1) && ((parser->http_minor == 0) || (parser->http_minor == 1)))) {
9090
ESP_LOGW(TAG, LOG_FMT("unsupported HTTP version = %d.%d"),
9191
parser->http_major, parser->http_minor);
9292
parser_data->error = HTTPD_505_VERSION_NOT_SUPPORTED;

components/esp_hw_support/port/esp32c2/Kconfig.hw_support

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,21 @@ config ESP_REV_MIN_FULL
3131
# MAX Revision
3232
#
3333

34-
comment "Maximum Supported ESP32-C2 Revision (Rev v1.99)"
34+
comment "Maximum Supported ESP32-C2 Revision (Rev v2.99)"
3535
# Maximum revision that IDF supports.
3636
# It can not be changed by user.
3737
# Only Espressif can change it when a new version will be supported in IDF.
3838
# Supports all chips starting from ESP32C2_REV_MIN_FULL to ESP32C2_REV_MAX_FULL
3939

4040
config ESP32C2_REV_MAX_FULL
4141
int
42-
default 299 if ESP32C2_REV2_DEVELOPMENT
43-
default 199 if !ESP32C2_REV2_DEVELOPMENT
42+
default 299
4443
# keep in sync the "Maximum Supported Revision" description with this value
4544

4645
config ESP_REV_MAX_FULL
4746
int
4847
default ESP32C2_REV_MAX_FULL
4948

50-
config ESP32C2_REV2_DEVELOPMENT
51-
bool "Develop on ESP32-C2 v2.0 (Preview)"
52-
default y if IDF_CI_BUILD
53-
5449
config ESP_EFUSE_BLOCK_REV_MIN_FULL
5550
int "Minimum Supported ESP32-C2 eFuse Block Revision"
5651
default 0

0 commit comments

Comments
 (0)