[lwip-users] restrict number of connections of HTTP-server

2011-11-02 Thread M . Duckeck
Hi, I am using lwip 1.4.0 and the httpserver_raw. My filesystem supports only 2 open files at the same time. When I am opening an html file that contains for example 5 images, the browser tries to the load the images in parallel. Because the fs_open in http_find_file() fails for the third imag

[lwip-users] memory leak in ethernetif_init()

2011-05-24 Thread M . Duckeck
Hi, in ethernetif_init() of lwIP 1.4.0 in the file ethernetif.c there is memory allocated for the struct ethernetif and assigned to netif->state. This data is never used in the lwip stack and not freed in netif_remove(). I think this malloc and assignment should be removed. regards Mathias