lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: lwip-users Digest, Vol 67, Issue 13


From: Chen
Subject: [lwip-users] Re: lwip-users Digest, Vol 67, Issue 13
Date: Fri, 06 Mar 2009 10:15:27 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]