diff options
author | Ingela Anderton Andin <[email protected]> | 2017-06-01 16:09:11 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2017-09-12 15:13:06 +0200 |
commit | 5d01c70ca399edf28e99dc760506329689fab6ba (patch) | |
tree | f9ce0599805018e3884c91c07f9ba06c9b8c3269 /lib/inets/src/http_server/httpd_sup.erl | |
parent | a230f26086b3db9097f06d4bb91fb3b2e9379c77 (diff) | |
download | otp-5d01c70ca399edf28e99dc760506329689fab6ba.tar.gz otp-5d01c70ca399edf28e99dc760506329689fab6ba.tar.bz2 otp-5d01c70ca399edf28e99dc760506329689fab6ba.zip |
inets: httpd - Add chunk handling of client data
If the client uses PUT or POST to send a HTTP body the server
currently will gather the whole body in memory before passing it on to
the mod-callback. For legacy reasons it also converts the binary body
to a list, this is really bad for memory usage!
Add new option max_client_body_chunk to enable chunked handling of
content-length requests. Also make it possible for chunked-encoded data
to be propagated in portions to the mod-callback.
Conflicts:
lib/inets/test/httpd_SUITE.erl
Diffstat (limited to 'lib/inets/src/http_server/httpd_sup.erl')
0 files changed, 0 insertions, 0 deletions