|
From: | Janicek, Marek |
Subject: | Re: [lwip-users] FreeRTOS + Lwip, transmit gets BLOCKED |
Date: | Fri, 6 Mar 2020 06:04:37 +0000 |
Hi Simon, tcp_nagle_disable() helped. Now there is long delay only when there are also incoming packets while transmitting. This happens only when
lwip_netconn_do_writemore() ends with error. That means there is not enough memory. So I will also check on this. Thanks a lot. Br Marek From: lwip-users <lwip-users-bounces+mjanicek=address@hidden>
On Behalf Of Simon Wilton Hi Marek There is an automatic back-off mechanism designed to stop nodes flooding the network with small TCP messages called Nagle algorithm. Check if you are being blocked by that. You can turn it off
- i think on a per connection basis. There is also a similar thread that I found when i was looking at a similar problem http://lwip.100.n7.nabble.com/lwIP-hangs-on-transfers-with-many-short-packets-td11044.html BR Simon From: lwip-users <lwip-users-bounces+simon.wilton=address@hidden> on behalf of mjanicek
<address@hidden> Hello, |
[Prev in Thread] | Current Thread | [Next in Thread] |