Re: [lwip-users] Can serve only short webpages

2018-03-04 Thread goldsi...@gmx.de
On 03.03.2018 23:30, JM wrote: So now the only entry into lwIP is through low_level_input(). I've spent a good deal of time trying to debug this and where I got stuck was in  tcp_receive() where it calls pbuf_clen(), which returns MEMP_NUM_PBUF and that's where the underflow originates. If I

Re: [lwip-users] Can serve only short webpages

2018-03-03 Thread goldsi...@gmx.de
On 03.03.2018 16:26, JM wrote: Hi thanks for the reply. My main loop consists of while(1); only. Only the stack is running on the microcontroller and all interrupts going into lwIP (Ethernet Rx and periodic timer) So are you sure you enter lwIP functions only from one interrupt priority? With

Re: [lwip-users] Can serve only short webpages

2018-03-02 Thread Sergio R. Caprile
How is your main loop ? Are you calling sys_check_timeouts() frequently enough ? Have you tried a small, easily debuggable app like echo or netio before jumping into httpd ? ___ lwip-users mailing list lwip-users@nongnu.org