Closed
Description
It looks like there is a bug in the following line of sendContent_P:
contentUnitLen = contentNext - content;
I believe the memccpy_P function returns the last copied byte in the buffer, not the source. So therefore the line above should be this:
contentUnitLen = contentNext - contentUnit;
This is in the file ESP8266WebServer.cpp. I've created a pull request, #880, for this issue.
Metadata
Metadata
Assignees
Labels
No labels