annotate conf/mime.types @ 9286:d9fe808c1841 default tip

HTTP/3: protection from recursion during connection reuse. When draining a connection associated with an HTTP/3 stream, calling ngx_http_v3_send_cancel_stream() might result in an attempt to obtain a connection for the decoder stream. This in turn will trigger draining of the very same connection. Depending on the client settings, this might either lead to stack overflow or will end up in decoder stream creation error and destroying the connection at some point, potentially resulting in use-after-free on stack. Fix is to make sure that connection reuse is disabled in ngx_http_v3_reset_stream(), so the recursion in question won't happen regardless of what called functions do.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 02 Jun 2024 23:51:55 +0300
parents 9a0849fd4b46
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
1
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
2 types {
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
3 text/html html htm shtml;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
4 text/css css;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
5 text/xml xml;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
6 image/gif gif;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
7 image/jpeg jpeg jpg;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
8 application/javascript js;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
9 application/atom+xml atom;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
10 application/rss+xml rss;
589
d4e858a5751a nginx-0.3.16-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 567
diff changeset
11
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
12 text/mathml mml;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
13 text/plain txt;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
14 text/vnd.sun.j2me.app-descriptor jad;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
15 text/vnd.wap.wml wml;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
16 text/x-component htc;
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
17
7942
3f0ab7b6cd71 MIME: added image/avif type.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7834
diff changeset
18 image/avif avif;
9229
28fbf78841dc MIME: changed type for bmp to image/bmp.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7942
diff changeset
19 image/bmp bmp;
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
20 image/png png;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
21 image/svg+xml svg svgz;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
22 image/tiff tif tiff;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
23 image/vnd.wap.wbmp wbmp;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
24 image/webp webp;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
25 image/x-icon ico;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
26 image/x-jng jng;
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
27
7302
bf1a7b363598 MIME: changed type for woff to font/woff (ticket #1243).
Valentin Bartenev <vbart@nginx.com>
parents: 7115
diff changeset
28 font/woff woff;
7303
118885f7a577 MIME: added font/woff2 type (ticket #1243).
Valentin Bartenev <vbart@nginx.com>
parents: 7302
diff changeset
29 font/woff2 woff2;
7302
bf1a7b363598 MIME: changed type for woff to font/woff (ticket #1243).
Valentin Bartenev <vbart@nginx.com>
parents: 7115
diff changeset
30
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
31 application/java-archive jar war ear;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
32 application/json json;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
33 application/mac-binhex40 hqx;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
34 application/msword doc;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
35 application/pdf pdf;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
36 application/postscript ps eps ai;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
37 application/rtf rtf;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
38 application/vnd.apple.mpegurl m3u8;
9232
9a0849fd4b46 MIME: changed type for deb files, added udeb files.
Yuriy Izorkin <lafiel@elven.pw>
parents: 9231
diff changeset
39 application/vnd.debian.binary-package deb udeb;
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
40 application/vnd.google-earth.kml+xml kml;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
41 application/vnd.google-earth.kmz kmz;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
42 application/vnd.ms-excel xls;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
43 application/vnd.ms-fontobject eot;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
44 application/vnd.ms-powerpoint ppt;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
45 application/vnd.oasis.opendocument.graphics odg;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
46 application/vnd.oasis.opendocument.presentation odp;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
47 application/vnd.oasis.opendocument.spreadsheet ods;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
48 application/vnd.oasis.opendocument.text odt;
7114
b31caae8cc7b MIME: style.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5602
diff changeset
49 application/vnd.openxmlformats-officedocument.presentationml.presentation
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
50 pptx;
7114
b31caae8cc7b MIME: style.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5602
diff changeset
51 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
52 xlsx;
7114
b31caae8cc7b MIME: style.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5602
diff changeset
53 application/vnd.openxmlformats-officedocument.wordprocessingml.document
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
54 docx;
9231
e8b200816108 MIME: changed type for rar files to application/vnd.rar.
Yuriy Izorkin <lafiel@elven.pw>
parents: 9229
diff changeset
55 application/vnd.rar rar;
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
56 application/vnd.wap.wmlc wmlc;
7834
b3f4d83d6fd0 MIME: added application/wasm type (ticket #1606).
Maxim Dounin <mdounin@mdounin.ru>
parents: 7303
diff changeset
57 application/wasm wasm;
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
58 application/x-7z-compressed 7z;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
59 application/x-cocoa cco;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
60 application/x-java-archive-diff jardiff;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
61 application/x-java-jnlp-file jnlp;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
62 application/x-makeself run;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
63 application/x-perl pl pm;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
64 application/x-pilot prc pdb;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
65 application/x-redhat-package-manager rpm;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
66 application/x-sea sea;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
67 application/x-shockwave-flash swf;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
68 application/x-stuffit sit;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
69 application/x-tcl tcl tk;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
70 application/x-x509-ca-cert der pem crt;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
71 application/x-xpinstall xpi;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
72 application/xhtml+xml xhtml;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
73 application/xspf+xml xspf;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
74 application/zip zip;
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
75
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
76 application/octet-stream bin exe dll;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
77 application/octet-stream dmg;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
78 application/octet-stream iso img;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
79 application/octet-stream msi msp msm;
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
80
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
81 audio/midi mid midi kar;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
82 audio/mpeg mp3;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
83 audio/ogg ogg;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
84 audio/x-m4a m4a;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
85 audio/x-realaudio ra;
567
1af2fcb3be8a nginx-0.3.5-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 509
diff changeset
86
7115
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
87 video/3gpp 3gpp 3gp;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
88 video/mp2t ts;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
89 video/mp4 mp4;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
90 video/mpeg mpeg mpg;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
91 video/quicktime mov;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
92 video/webm webm;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
93 video/x-flv flv;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
94 video/x-m4v m4v;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
95 video/x-mng mng;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
96 video/x-ms-asf asx asf;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
97 video/x-ms-wmv wmv;
4ff31c785d0c MIME: added most common OpenDocument types.
Maxim Dounin <mdounin@mdounin.ru>
parents: 7114
diff changeset
98 video/x-msvideo avi;
450
551102312e19 nginx-0.1.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
99 }