ESP32-Musings / OTA_update_STM32_using_ESP32

Program STM32Fxx MCUs Over-the-Air using ESP32
MIT License
366 stars 73 forks source link

URI Header too long #13

Closed adirsingh96 closed 2 years ago

adirsingh96 commented 2 years ago

Hey, I am able to successfully upload the code on the local server but when I am pressing the flash button the web page breaks and I see this error (I (1540683) FILE_SERVER_HTTP: Found file : I2C_RTC.bin (11668 bytes) I (1540693) FILE_SERVER_HTTP: Found file : UartTest.bin (8220 bytes) I (1540703) FILE_SERVER_HTTP: Found file : blink.bin (4552 bytes) I (1542803) FILE_SERVER_HTTP: Sending file : /blink.bin (4552 bytes)... I (1542813) FILE_SERVER_HTTP: File sending complete W (1548003) httpd_parse: parse_block: request URI/header too long ) when I monitor the COM port . I just built and flashed the file_serving_stm folder and flashed it, is it correct?

adirsingh96 commented 2 years ago

Solved this issue, changed the max header size to 2048 in sconfig file

adirsingh96 commented 2 years ago

Solved this issue, changed the max header size to 2048 in sconfig file