[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Freeing memory after http transfer
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Freeing memory after http transfer |
Date: |
Thu, 12 Nov 2009 09:26:06 +0100 |
> Under special circumstances I need to transfer about 500kB of data from
> lwip to a browser. To do this I borrow some memory from another task.
> After the data is transfered I need to clear the borrowed memory and
> return it to the other task.
>
> I tried using tcp_sent() to trigger this. Unfortunately the last part of
> the data is cleared when I do so. This means tcp_sent is called when the
> memory is still in use.
>
> Any idea what I can use as trigger?
You did the correct thing, tcp_sent should do the trick. If not, that's a bug
(either in lwIP, the way you are using it, or in your code or port) which needs
to be analysed.
Simon
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
- [lwip-users] Freeing memory after http transfer, Bernhard 'Gustl' Bauer, 2009/11/12
- Re: [lwip-users] Freeing memory after http transfer,
Simon Goldschmidt <=
- RE: [lwip-users] Freeing memory after http transfer, Bill Auerbach, 2009/11/12
- Re: [lwip-users] Freeing memory after http transfer, Bernhard 'Gustl' Bauer, 2009/11/12
- Re: [lwip-users] Freeing memory after http transfer, Kieran Mansley, 2009/11/12
- Re: [lwip-users] Freeing memory after http transfer, Bernhard 'Gustl' Bauer, 2009/11/13
- Re: [lwip-users] Freeing memory after http transfer, address@hidden, 2009/11/13
- Re: [lwip-users] Freeing memory after http transfer, Bernhard 'Gustl' Bauer, 2009/11/13
- Re: [lwip-users] Freeing memory after http transfer, address@hidden, 2009/11/13
- Re: [lwip-users] Freeing memory after http transfer, Bernhard 'Gustl' Bauer, 2009/11/16
- Re: [lwip-users] Freeing memory after http transfer, Simon Goldschmidt, 2009/11/16
Re: [lwip-users] Freeing memory after http transfer, Bernhard 'Gustl' Bauer, 2009/11/12