mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
21d65931fc
Free websocket transport buffer when connection succeed to save peak heap cost about WS_BUFFER_SIZE.
27 lines
807 B
Plaintext
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
|