LwIP/httpd - problem with using custom_file with LWIP_HTTPD_DYNAMIC_FILE_READ
The problem is with LwIP codes. I know that the topic is a bit different from this forum. But I ask, maybe someone had similar :)
When I use custom_file with the LWIP_HTTPD_DYNAMIC_FILE_READ flag, the data is sent to the browser twice.
I was looking at the code from the httpd.c file and it seems to me that in the http_init_file function around line 2358
is
if (file-> is_custom_file && (file-> data == NULL) ) {
and I think it should be
if (file-> is_custom_file) {
Can anyone confirm this?
Grzegorz
