Mercurial > hg > nginx
annotate contrib/README @ 7118:b6dc472299da
HTTP/2: enforce writing the sync request body buffer to file.
The sync flag of HTTP/2 request body buffer is used when the size of request
body is unknown or bigger than configured "client_body_buffer_size". In this
case the buffer points to body data inside the global receive buffer that is
used for reading all HTTP/2 connections in the worker process. Thus, when the
sync flag is set, the buffer must be flushed to a temporary file, otherwise
the request body data can be overwritten.
Previously, the sync buffer wasn't flushed to a temporary file if the whole
body was received in one DATA frame with the END_STREAM flag and wasn't
copied into the HTTP/2 body preread buffer. As a result, the request body
might be corrupted (ticket #1384).
Now, setting r->request_body_in_file_only enforces writing the sync buffer
to a temporary file in all cases.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 04 Oct 2017 21:15:15 +0300 |
parents | 1bdf906bba99 |
children |
rev | line source |
---|---|
537 | 1 |
667 | 2 geo2nginx.pl by Andrei Nigmatulin |
3 | |
4 The perl script to convert CSV geoip database ( free download | |
5 at http://www.maxmind.com/app/geoip_country ) to format, suitable | |
6 for use by the ngx_http_geo_module. | |
7 | |
537 | 8 |
667 | 9 unicode2nginx by Maxim Dounin |
10 | |
11 The perl script to convert unicode mappings ( available | |
12 at http://www.unicode.org/Public/MAPPINGS/ ) to the nginx | |
13 configuration file format. | |
14 Two generated full maps for windows-1251 and koi8-r. | |
15 | |
5461
1bdf906bba99
Contrib: added vim to README.
Maxim Dounin <mdounin@mdounin.ru>
parents:
667
diff
changeset
|
16 |
1bdf906bba99
Contrib: added vim to README.
Maxim Dounin <mdounin@mdounin.ru>
parents:
667
diff
changeset
|
17 vim by Evan Miller |
1bdf906bba99
Contrib: added vim to README.
Maxim Dounin <mdounin@mdounin.ru>
parents:
667
diff
changeset
|
18 |
1bdf906bba99
Contrib: added vim to README.
Maxim Dounin <mdounin@mdounin.ru>
parents:
667
diff
changeset
|
19 Syntax highlighting of nginx configuration for vim, to be |
1bdf906bba99
Contrib: added vim to README.
Maxim Dounin <mdounin@mdounin.ru>
parents:
667
diff
changeset
|
20 placed into ~/.vim/. |
1bdf906bba99
Contrib: added vim to README.
Maxim Dounin <mdounin@mdounin.ru>
parents:
667
diff
changeset
|
21 |