Open
Description
Hi there!
I was trying to send to my ESP32 some data using the POST method.
Everything was ok until my data passed over 512 bytes.
When my data gets 513 byte or more, the readByte function seems to overflow and overwrite the buffer regardless the buffer size.
My code:
byte buffer[1024];
size_t readLength = 0;
while(!(req->requestComplete())) {
readLength = req->readBytes(buffer, 1024);
}
Serial.println(readLength);
When data is less or equal than 512 bytes readLenght match with the amount of byte sended, but over 513 bytes readLenght is equal to the the diference between 512 bytes and the sended bytes.
¿Is there any limit to change somewhere?
Regards!