esp-idf/components/tcp_transport/Kconfig
Li Jingyi 21d65931fc tcp_transport: add websocket dynamic buffer feature
Free websocket transport buffer when connection succeed to save peak heap cost about WS_BUFFER_SIZE.
2022-06-08 19:13:25 +00:00

27 lines
807 B
Plaintext

menu "TCP Transport"
menu "Websocket"
config WS_TRANSPORT
bool "Enable Websocket Transport"
default y
help
Enable support for creating websocket transport.
config WS_BUFFER_SIZE
int "Websocket transport buffer size"
default 1024
depends on WS_TRANSPORT
help
Size of the buffer used for constructing the HTTP Upgrade request during connect
config WS_DYNAMIC_BUFFER
bool "Using dynamic websocket transport buffer"
default n
depends on WS_TRANSPORT
help
If enable this option, websocket transport buffer will be freed after connection
succeed to save more heap.
endmenu
endmenu