diff options
| author | rhialto <rhialto@NetBSD.org> | 2020-09-12 12:39:28 +0000 |
|---|---|---|
| committer | rhialto <rhialto@NetBSD.org> | 2020-09-12 12:39:28 +0000 |
| commit | fa1f0e92ae9f9c506d9049d3be01200bc8419efe (patch) | |
| tree | 2e7f6b9338f2a071936ae766b575da6ab5cd0fe5 /libexec | |
| parent | 6ecf23a813badca548b4feb0b95bbc65bd675ff3 (diff) | |
bozohttpd: add .m4a and .m4v file extensions.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/httpd/CHANGES | 5 | ||||
| -rw-r--r-- | libexec/httpd/content-bozo.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libexec/httpd/CHANGES b/libexec/httpd/CHANGES index 67c294ec513..3ba7e1268d1 100644 --- a/libexec/httpd/CHANGES +++ b/libexec/httpd/CHANGES @@ -1,4 +1,7 @@ -$NetBSD: CHANGES,v 1.41 2020/08/20 07:55:10 mrg Exp $ +$NetBSD: CHANGES,v 1.42 2020/09/12 12:39:28 rhialto Exp $ + +changes in bozohttpd 20200912: + o add .m4a and .m4v file extensions. changes in bozohttpd 20200820: o make this work on sun2 by reducing mmap window there. diff --git a/libexec/httpd/content-bozo.c b/libexec/httpd/content-bozo.c index dd5df08fd05..03c34e78838 100644 --- a/libexec/httpd/content-bozo.c +++ b/libexec/httpd/content-bozo.c @@ -1,4 +1,4 @@ -/* $NetBSD: content-bozo.c,v 1.16 2018/11/23 08:11:20 mrg Exp $ */ +/* $NetBSD: content-bozo.c,v 1.17 2020/09/12 12:39:28 rhialto Exp $ */ /* $eterna: content-bozo.c,v 1.17 2011/11/18 09:21:15 mrg Exp $ */ @@ -135,6 +135,7 @@ static bozo_content_map_t static_content_map[] = { { ".snd", "audio/basic", "", "", NULL }, { ".mpga", "audio/mpeg", "", "", NULL }, { ".mp2", "audio/mpeg", "", "", NULL }, + { ".m4a", "audio/mpeg", "", "", NULL }, { ".aif", "audio/x-aiff", "", "", NULL }, { ".aiff", "audio/x-aiff", "", "", NULL }, { ".aifc", "audio/x-aiff", "", "", NULL }, @@ -167,6 +168,7 @@ static bozo_content_map_t static_content_map[] = { { ".ts", "video/mpeg", "", "", NULL }, { ".vob", "video/mpeg", "", "", NULL }, { ".mp4", "video/mp4", "", "", NULL }, + { ".m4v", "video/mp4", "", "", NULL }, { ".qt", "video/quicktime", "", "", NULL }, { ".mov", "video/quicktime", "", "", NULL }, { ".avi", "video/x-msvideo", "", "", NULL }, |
