fix(ota): stabilize periodic checks and HTTPS downloads

This commit is contained in:
chenjintao
2026-08-14 18:23:37 +08:00
parent 5a18036ec6
commit 451d989e78
3 changed files with 26 additions and 4 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
# certificate handshake message larger than 4 KB, which mbedTLS reports as
# MBEDTLS_ERR_SSL_INVALID_RECORD (-0x7200) when the inbound cap is too small.
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=8192
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
# The firmware does not inspect the peer certificate after the handshake; avoid