docs: Update CN translation for 5.5/protocol

This commit is contained in:
renpeiying 2025-02-19 18:55:49 +08:00
parent 8ad16fd58d
commit 0f3fb0c0fb
2 changed files with 9 additions and 1 deletions

View File

@ -9,4 +9,4 @@ ESP HTTP SERVER
:ref:`CONFIG_HTTPD_MAX_REQ_HDR_LEN`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
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.

View File

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