lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Small fix for 'minimal'


From: Christiaan Simons
Subject: Re: [lwip-devel] Small fix for 'minimal'
Date: Mon, 24 Oct 2005 12:42:17 +0200

address@hidden wrote on 21-09-2005
22:44:32:

> The 'minimal' project in contrib was very helpful to get started with
> lwip, but I believe there is a small bug.

There is more than a small bug. There is a pbuf memory leak after about
1000+ small
echo's, and it seems larger files (>128 bytes (pbuf size)) aren't echo'd
properly.

Currently I'm rewriting the echo example, now using the true raw API
instead of the 'event API'.

> In echo.c, in close_conn,
> there is an attempt to pbuf_free(es->p) unconditionally.  but normally
> p is null because es has nothing pending to send.

Yep, found and fixed that a week ago in echo.c rev 1.4

>  Here is my diff,
> which corrects the same thing in another spot, and a cut and paste
> error in a comment.

Tnx anyway,

Christiaan Simons

Hardware / Software Engineer
Axon Digital Design

+31 (0)13 511 66 66
+31 (0)13 511 41 51

http://www.axon.tv



This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named.  If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.





reply via email to

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