mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-03-15 06:06:31 +03:00
AsyncTCP changes
This commit is contained in:
@@ -172,7 +172,7 @@ void UploadFileService::handleError(AsyncWebServerRequest * request, int code) {
|
||||
// check for invalid extension and immediately kill the connection, which will throw an error
|
||||
// that is caught by the web code. Unfortunately the http error code is not sent to the client on fast network connections
|
||||
if (code == 406) {
|
||||
request->client()->close(true);
|
||||
request->client()->close();
|
||||
_is_firmware = false;
|
||||
Update.abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user