1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

* extra validation breaking POST/DELETE rest calls (#4003)

This commit is contained in:
Virgil Borcea 2017-12-21 03:28:37 +02:00 committed by Develo
parent 355232ff6d
commit d0a4900e2d

View File

@ -179,8 +179,6 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
if (!isForm){
size_t plainLength;
char* plainBuf = readBytesWithTimeout(client, contentLength, plainLength, HTTP_MAX_POST_WAIT);
if (!plainBuf)
return false;
if (plainLength < contentLength) {
free(plainBuf);
return false;