Closed kayakaantuna closed 1 year ago
Update: I found the issue, after I changed these values it worked perfectly.
Inside "ESP8266WebServer.h":
I believe that the current version only maintains connection for 2 seconds, which is certainly insufficient for me. After changing these definitions values, it began to wait somewhat longer, which resolved my issue.
Basic Infos
Platform
Settings in IDE
Problem Description
I'm using this library to upload about 500kb jpg image to the "http://ESPIPaddress:80/" address, however I get "net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)" from the chrome browser. I only can see %10 of the image before I get the error.
Since its a huge data for ESP8266, I'm getting the image from another microchip using SPI communication. So I'm using server.sendContent(); function. When I setup an PHP server I can see the image perfectly but I want this to be standalone and not dependent to the PHP server I open from OS.
Here is the related code:
MCVE Sketch
Debug Messages