Skip to content

Commit d0a4900

Browse files
vborceadevyte
authored andcommitted
* extra validation breaking POST/DELETE rest calls (esp8266#4003)
1 parent 355232f commit d0a4900

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libraries/ESP8266WebServer/src/Parsing.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ bool ESP8266WebServer::_parseRequest(WiFiClient& client) {
179179
if (!isForm){
180180
size_t plainLength;
181181
char* plainBuf = readBytesWithTimeout(client, contentLength, plainLength, HTTP_MAX_POST_WAIT);
182-
if (!plainBuf)
183-
return false;
184182
if (plainLength < contentLength) {
185183
free(plainBuf);
186184
return false;

0 commit comments

Comments
 (0)