HttpChunkin (chunked-encoding request body support) with tengine

8mmmxcuj  于 2022-12-31  发布在  其他
关注(0)|答案(2)|浏览(146)

This might not be an issue, feel free to let me know if I'm not doing things properly but nginx pretends that http_chunkin is merged within nginx since 1.3.9+ ( reference documentation ).

However, with either tengine 2.1.0 or 1.5.2, I have not found the support for this module when compiling. --with-http_chunkin is not shown in either version's ./configure --help .

It does not seem to be built-in as using the chunkin directive yields an error when testing for syntax:

nginx: [emerg] unknown directive "chunkin" in /etc/nginx/sites-enabled/vhost:38

I have a hard requirement for chunkin support to be enabled and have managed to build 1.5.2 with it enabled by using chunkin-nginx-module and ./configure --add-module=/usr/local/src/chunkin-nginx-module .

Doing the same thing with the tengine 2.1.0 source doesn't work out of the box:

./configure: error: invalid option "--with-http_chunkin"

My question is:

  • Is it possible to have http_chunkin without resorting to an external module ?
  • Should this be merged to tengine (as it has apparently been to nginx) ?
  • Am I doing something in the above wrong ?

Thanks a lot for your input.

11dmarpk

11dmarpk1#

Tengine-2.1.0 supports nginx-1.6.2, so chunkin-nginx-module is unnecessary.
You can use tengine-2.1.0 directly.

bfnvny8b

bfnvny8b2#

Since tengine-2.0.0, tengine has supported for chunked input natively, with no configure option, so chunkin-nginx-module is not necessary. However, we did not test whether the module could work with tengine-2.X.X.

相关问题