Mercurial > hg > nginx
annotate docs/xml/change_log_conf.xml @ 9179:ea1f29c2010c
HTTP/2: fixed buffer management with HTTP/2 auto-detection.
As part of normal HTTP/2 processing, incomplete frames are saved in the
control state using a fixed size memcpy of NGX_HTTP_V2_STATE_BUFFER_SIZE.
For this matter, two state buffers are reserved in the HTTP/2 recv buffer.
As part of HTTP/2 auto-detection on plain TCP connections, initial data
is first read into a buffer specified by the client_header_buffer_size
directive that doesn't have state reservation. Previously, this made it
possible to over-read the buffer as part of saving the state.
The fix is to read the available buffer size rather than a fixed size.
Although memcpy of a fixed size can produce a better optimized code,
handling of incomplete frames isn't a common execution path, so it was
sacrificed for the sake of simplicity of the fix.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sat, 21 Oct 2023 18:48:24 +0400 |
parents | 76bc29f06168 |
children |
rev | line source |
---|---|
4028
76bc29f06168
CHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev <igor@sysoev.ru>
parents:
573
diff
changeset
|
1 <?xml version="1.0" ?> |
450 | 2 <!DOCTYPE configuration SYSTEM "../dtd/change_log_conf.dtd" > |
3 | |
4 <configuration> | |
5 | |
483 | 6 <length>76</length> |
450 | 7 |
8 <start> *) </start> | |
9 <indent> </indent> | |
10 | |
11 <changes lang="ru"> | |
4028
76bc29f06168
CHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev <igor@sysoev.ru>
parents:
573
diff
changeset
|
12 <title>Изменения в </title> |
450 | 13 <length>66</length> |
14 | |
4028
76bc29f06168
CHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev <igor@sysoev.ru>
parents:
573
diff
changeset
|
15 <bugfix>Исправление</bugfix> |
76bc29f06168
CHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev <igor@sysoev.ru>
parents:
573
diff
changeset
|
16 <feature>Добавление</feature> |
76bc29f06168
CHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev <igor@sysoev.ru>
parents:
573
diff
changeset
|
17 <change>Изменение</change> |
76bc29f06168
CHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev <igor@sysoev.ru>
parents:
573
diff
changeset
|
18 <security>Безопасность</security> |
76bc29f06168
CHANGES conversion from KOI8-R to UTF-8.
Igor Sysoev <igor@sysoev.ru>
parents:
573
diff
changeset
|
19 <workaround>Изменение</workaround> |
450 | 20 </changes> |
21 | |
22 <changes lang="en"> | |
23 <title>Changes with </title> | |
24 <length>65</length> | |
25 | |
26 <bugfix>Bugfix</bugfix> | |
27 <feature>Feature</feature> | |
28 <change>Change</change> | |
573 | 29 <security>Security</security> |
450 | 30 <workaround>Workaround</workaround> |
31 | |
32 <month> Jan </month> | |
33 <month> Feb </month> | |
34 <month> Mar </month> | |
35 <month> Apr </month> | |
36 <month> May </month> | |
37 <month> Jun </month> | |
38 <month> Jul </month> | |
39 <month> Aug </month> | |
40 <month> Sep </month> | |
41 <month> Oct </month> | |
42 <month> Nov </month> | |
43 <month> Dec </month> | |
44 | |
45 </changes> | |
46 | |
47 </configuration> |