Skip to content

Commit 57edc4f

Browse files
committed
[http_request] Add tls_buffer_size_rx and tls_buffer_size_tx
1 parent 600c599 commit 57edc4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/docs/components/http_request.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ http_request:
4545

4646
**For the ESP8266:**
4747

48+
- **tls_buffer_size_rx** (*Optional*, integer): Change TLS receive buffer size. Should be set to `16384` to fit the TLS
49+
record size of modern HTTP servers. This will increase RAM usage significantly and may require removing other
50+
components to free up RAM. You can check the max free heap block using the [Debug Component](/components/debug/). If
51+
the server is configured to support the MFL TLS extension then this can be reduced, but most popular servers (Traefik,
52+
Caddy, Cloudflare) don't support it and nginx has it disabled by default. Defaults to `512`.
53+
- **tls_buffer_size_tx** (*Optional*, integer): Change TLS transmit buffer size. Defaults to `512`.
4854
- **esp8266_disable_ssl_support** (*Optional*, boolean): Determines whether to include HTTPS/SSL support in the
4955
firmware binary. Excluding the SSL libraries from your build will result in a smaller binary, which may be
5056
necessary for memory-constrained devices (512 kB or 1 MB). If you see

0 commit comments

Comments
 (0)