Option to allow the request body to be processed outside the asynchttpserver library. (#13147)

Allow the request body to be processed outside the asynchttpserver library to break big files into chunks of data. This change does not break anything.
This commit is contained in:
Henrique Dias 2020-02-04 20:13:25 +00:00 • committed by GitHub
commit 955465e5f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 16 deletions

View file

@ -57,6 +57,7 @@
## Library changes
- `asynchttpserver` now the request body is a FutureStream.
- `asyncdispatch.drain` now properly takes into account `selector.hasPendingOperations`
and only returns once all pending async operations are guaranteed to have completed.
- `asyncdispatch.drain` now consistently uses the passed timeout value for all