Just read Simon's comment, PBUF_POOL_SIZE is for rx only (not tx as
suggested by Kieran).
My guess is by making PBUF_POOL_SIZE 60, with PBUF_POOL_BUFSIZE at 500, we
are allocating 30000 bytes for rx, plus the tx buffer of 30000, we may have
some memory issue (instead of lwip bug) here
When I lower PBUF_POOL_BUFSIZE to 300 (keeping PBUF_POOL_SIZE at 60), or
lower PBUF_POOL_SIZE to 40 (keeping PBUF_POOL_BUFSIZE at 500), telnet will work
>>>>>>>>>>>>>
Where/How do I file a bug report?
BTW, the following looks like a bug to me, too
I use the socket programming approach from here, copying the sample codes
"AS IS"
http://ultimaserial.com/avr_lwip_tcp.html
Everything works fine
Then I change the following in lwipopts.h
#define TCP_SND_BUF 30000 (default was 2150)
#define PBUF_POOL_SIZE 60 (default was 6)
telnet will not connect anymore!
Thanks,
OK. That sounds like a well defined bug that we should investigate.
Could you file a bug on savannah, hopefully including a detailed
description of how to reproduce the problem?
Thanks
Kieran
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users