Hi,
 
just to remind all: This issue is only happening when there is a TCP 
fragmentation in place!
 
I'm using the Netconn interface. If I push these amount of data with MSS set to 
1500, the issue does not happen. The packets are queued into LwIP's memory 
unless there is not enough space to store the next packet, NETCONN_WRITE 
returns correctly an ERR_WOULDBLOCK and I'll try again after a few 
milliseconds. That's working without issues.
 
Once the MSS < packet size the issue kicks in as soon as I'm giving more than 
one packet into LwIP, even without filling up LwIP's memory and pbuf's.
 
There might be some workarounds, but the preferred solution would be to find 
the issue in LwIP here. I don't think it's in the PPP, so maybe it's something 
which is also left in LwIP 2.0 …
 
 
>The code is correct. See this excerpt from opengroups about "send()":
>"Upon successful completion, send() shall return the number of bytes sent."
>For nonblocking, this may of course be less than requested. Never ignore 
>return values!
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to