When using the parameters, as per the guide, I get corruptions in the data stream when doing http get for files of several MB, and monitoring the USB uart, I see the error:
Code: Select all
m:10259 failed
m:10259 failed
m:10259 failedCONFIG_LWIP_TCP_SND_BUF_DEFAULT=32768
CONFIG_LWIP_TCP_WND_DEFAULT=32768
it gets worse if I set higher (e.g. 64k as per article linked above). I'd also like to draw attention to the fact that the values specified in the article, and reproduced here:
Code: Select all
# LWIP
CONFIG_LWIP_TCP_SND_BUF_DEFAULT=65534
CONFIG_LWIP_TCP_WND_DEFAULT=65534
CONFIG_LWIP_TCP_RECVMBOX_SIZE=12
CONFIG_LWIP_UDP_RECVMBOX_SIZE=12
CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=64
https://docs.espressif.com/projects/esp ... vmbox-size
Please advise on what this error means and how I can go about increasing the buffers to 32k or 64k without errors. I've attached. an example config that I see the issue with when performing large http GET. (e.g 1-10MB)
Regards
Dan
