Skip to content

Commit 0f3fb0c

Browse files
committed
docs: Update CN translation for 5.5/protocol
1 parent 8ad16fd commit 0f3fb0c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/en/migration-guides/release-5.x/5.5/protocols.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ESP HTTP SERVER
99
:ref:`CONFIG_HTTPD_MAX_REQ_HDR_LEN`
1010
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1111

12-
The :ref:`CONFIG_HTTPD_MAX_REQ_HDR_LEN` option now defines the maximum limit for the memory that can be allocated internally for the HTTP request header. The actual memory allocated for the header will depend on the size of the header received in the HTTP request, rather than being fixed to this value which was the case previously. This provides more flexible memory usage based on the actual header size.
12+
The :ref:`CONFIG_HTTPD_MAX_REQ_HDR_LEN` option now defines the maximum limit for the memory that can be allocated internally for the HTTP request header. The actual memory allocated for the header depends on the size of the header received in the HTTP request, rather than being fixed to this value as before. This provides more flexible memory usage based on the actual header size.

docs/zh_CN/migration-guides/release-5.x/5.5/protocols.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@
22
====
33

44
:link_to_translation:`en:[English]`
5+
6+
ESP HTTP 服务器
7+
---------------
8+
9+
:ref:`CONFIG_HTTPD_MAX_REQ_HDR_LEN`
10+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11+
12+
:ref:`CONFIG_HTTPD_MAX_REQ_HDR_LEN` 选项定义了内部为 HTTP 请求头分配内存的上限。实际分配的内存大小取决于 HTTP 请求中接收到的请求头的大小,而不再为先前的固定值。这一方式可以根据请求头的实际大小更灵活地使用内存,提高了内存的使用效率。

0 commit comments

Comments
 (0)