diff options
author | Zhidao HONG <z.hong@f5.com> | 2024-06-11 17:59:00 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2024-06-20 10:39:55 +0800 |
commit | 64f4c78bf441fa9e021d905a03d374d0a9e05e8d (patch) | |
tree | e4d12f7eb8a085ae8f58f313a98c761d6594660a /src/nxt_gnutls.c | |
parent | f80a36a60d61ecd5621d33af37aed35fd074f982 (diff) | |
download | unit-64f4c78bf441fa9e021d905a03d374d0a9e05e8d.tar.gz unit-64f4c78bf441fa9e021d905a03d374d0a9e05e8d.tar.bz2 |
http: Support chunked request bodies
This is a temporary support for chunked request bodies by converting
to Content-Length. This allows for processing of such requests until
a more permanent solution is developed.
A new configuration option "chunked_transform" has been added to enable
this feature. The option can be set as follows:
{
"settings": {
"chunked_transform": true
}
}
By default, this option is set to false, which retains the current
behaviour of rejecting chunked requests with a '411 Length Required'
status code.
Please note that this is an experimental implementation.
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/nxt_gnutls.c')
0 files changed, 0 insertions, 0 deletions