1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

ESP8266WebServer: send empty chunk when done sending chunked response

Fixes https://github.com/esp8266/Arduino/issues/3225
This commit is contained in:
Ivan Grokhotkov
2017-12-14 11:10:01 +08:00
committed by Ivan Grokhotkov
parent 9b3583d227
commit 4c08389961
2 changed files with 24 additions and 9 deletions

View File

@ -142,6 +142,7 @@ template<typename T> size_t streamFile(T &file, const String& contentType){
protected:
void _addRequestHandler(RequestHandler* handler);
void _handleRequest();
void _finalizeResponse();
bool _parseRequest(WiFiClient& client);
void _parseArguments(String data);
static String _responseCodeToString(int code);