Skip to main content
Graduate II
August 3, 2022
Question

If "LWIP_HTTPD_DYNAMIC_HEADERS" is "ON" webpage does not appear!

  • August 3, 2022
  • 2 replies
  • 892 views

I have a webserver on a stm32f407 and everything works great! I repeated the same project, but on stm32h750 and the webserver does not work.

But if "LWIP_HTTPD_DYNAMIC_HEADERS" is OFF the web page works partially.

To me need "LWIP_HTTPD_DYNAMIC_HEADERS" is "ON".

But, probably, I needed in stm32h750 something else to configure, unlike stm32f407!?

Is anyone facing the same problem?

    This topic has been closed for replies.

    2 replies

    DK.7Author
    Graduate II
    August 6, 2022

    Did no one encounter this problem?

    Graduate II
    August 9, 2022
    #define LWIP_HTTPD_CGI 1
    #define LWIP_HTTPD_SUPPORT_POST 1
    #define LWIP_HTTPD_DYNAMIC_HEADERS 1
    #define LWIP_HTTPD_CUSTOM_FILES 1

    I'm even building the contents of custom "files" dynamically and all of it and more works for me. Why? Because I have built a correct platform underneath. Until the lower layers are reliable, there is no point in wondering why higher layers don't work.

    https://community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32