forked from me-no-dev/ESPAsyncWebServer
Fixed chunked file response length. (#219)
Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
This commit is contained in:
committed by
Me No Dev
parent
e6c432e563
commit
30f9dab08d
@@ -556,8 +556,7 @@ AsyncFileResponse::AsyncFileResponse(File content, const String& path, const Str
|
||||
}
|
||||
|
||||
size_t AsyncFileResponse::_fillBuffer(uint8_t *data, size_t len){
|
||||
_content.read(data, len);
|
||||
return len;
|
||||
return _content.read(data, len);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user