S
S
script882012-09-05 11:37:50
linux
script88, 2012-09-05 11:37:50

Disabling chunked in nginx. What threatens?

What threatens chunked_transfer_encoding off in a certain location of nginx if it is planned to send a large amount of data to the server in response and what is the maximum amount of data nginx can accept?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
VBart, 2012-09-05
@script88

What threatens chunked_transfer_encoding off?
This threatens to disable HTTP Keep-Alive in the absence of Content-Lenght.
What is the maximum amount of data nginx can accept?
This does not depend on the value of the directive chunked_transfer_encoding.
If we are talking about HTTP(S) buffering and proxying, then see the description of the directive proxy_buffering:
nginx.org/r/proxy_buffering/ru

C
ctajiuh, 2012-09-05
@ctajiuh

From the wiki: Without a chunked transfer encoding mechanism, a Content-length header must be specified with each HTTP packet so that the client can find the end of the transmitted message.

E
egorinsk, 2012-09-05
@egorinsk

chunked encoding is used to allow the server to respond in chunks. If it is disabled, then the server should save the response from the backend to a buffer in memory or on disk and return it in one piece. This is less beneficial in terms of performance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question