I just got another problem that can't find the reason why it does this weird result (thought I never played a lot with HTTP). So I'm trying to push a JSON array of more than 1000 bytes to the ESP32 (the ESP32 act as a server and an WiFi acces point). The ESP32 recognise the URI handler to choose and all the header in the HTTP request. Then, it begins to decode the result before the reset come (it's always at the elements 5). The error log I got look like that:
Code: Select all
[1B][0;33mW (228756) httpd_uri: httpd_uri: uri handler execution failed[1B][0m
D (228766) httpd: httpd_server: closing socket 63[1B][0m
D (228776) httpd_sess: httpd_sess_delete: fd = 63[1B][0m
D (228786) httpd: httpd_server: doing select maxfd+1 = 57[1B][0m
At first I was sure that Google Chrome was resending a http post (or the tcp socket was resended) but by looking at Wireshark log, it's not. The server just close the socket for a reason that I don't understand.
If someone have an suggestion, I'll take it! in the meantime, I'll try to found the problem by looking at the drivers.