|
From: | Tomas Mudrunka |
Subject: | Re: [lwip-users] Assertion "pcb->snd_queuelen >= pbuf_clen(next->p)" in tcp_free_acked_segments() |
Date: | Thu, 22 Apr 2021 11:21:54 +0200 |
User-agent: | Roundcube Webmail/1.2.3 |
However, you don't need a lock when netif->input is tcpip_input. tcpip_input is a function dedicated to be called from other stacks to queue input pbufs for the lwIP thread.
That is good news. But does not explain my problem. I truly don't understand what causes the assert to fail. I was bit suspicious about HTTP server code, so to be sure i replaced it with LWIP TCP echo example from here: https://github.com/lwip-tcpip/lwip/tree/master/contrib/apps/tcpecho And the result is still the same. -- S pozdravem Best regards Tomáš Mudruňka - SPOJE.NET s.r.o.
[Prev in Thread] | Current Thread | [Next in Thread] |