Tags: ggory15/mynewt-core
Tags
net/ip: Update receive windows in lwip_recvfrom Socket like api function lwip_recvfrom did not called lwip_recved which is needed to update TCP window. Without this change socket is able to receive only TCP_WND bytes which is by default 4380. Now tcp_recved() is called inside lwip_recvfrom() much like in other implementations. It would be slightly better to call it when mbuf is freed but that is not possible easily right now.
PreviousNext