|
From: | Itzik Levi |
Subject: | Re: [lwip-users] Lwip tcp-stack reliability issue when using non-reliable network? |
Date: | Tue, 7 Nov 2017 20:42:41 +0200 |
Hi Sylvain,Although I am reading and writing from separated threads, I am not doing that in parallel(mutex protected), lwip_recv is never called in parallel to lwip_send.I will try and enable LWIP_NETCONN_FULLDUPLEX to see if it does anything, but I remember its highly experimental at this point.Will report back.On Tue, Nov 7, 2017 at 7:02 PM, Sylvain Rochet <address@hidden> wrote:______________________________Hi Itzik,
On Tue, Nov 07, 2017 at 06:40:52PM +0200, Itzik Levi wrote:
> Hi Sylvain,
>
> Thanks for the response!
>
> Just tried disabling both CORE_LOCKING and CORE_LOCKING_INPUT and
> unfortunately encountered the same problem.
>
> I'm probably missing something, but what... loss-less stream works
> excellent, without any corruption, might be some kind of internal tcp queue
> corruption while congested?
It looks like a thread safety issue, but you seem to do things well
(PPPAPI, pppos_input_tcpip, socket API, rx/tx mutex), but could you try
setting LWIP_NETCONN_FULLDUPLEX since you are using rx and tx from
multiple threads ?
Sylvain
_________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |