summaryrefslogtreecommitdiff
path: root/libexec/httpd
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2023-06-07 20:12:31 +0000
committermrg <mrg@NetBSD.org>2023-06-07 20:12:31 +0000
commit2e2c54d9a9420d731cc03e481de623257db93ced (patch)
tree0445ead63a85c8006ac3885d3fe073e41ec22811 /libexec/httpd
parent96d4dd8368252717f6f64eaf69beeb9732f06903 (diff)
serve .iso as "application/octet-stream". bump version & copyright.
Diffstat (limited to 'libexec/httpd')
-rw-r--r--libexec/httpd/bozohttpd.c6
-rw-r--r--libexec/httpd/content-bozo.c5
-rw-r--r--libexec/httpd/main.c4
-rw-r--r--libexec/httpd/ssl-bozo.c4
4 files changed, 10 insertions, 9 deletions
diff --git a/libexec/httpd/bozohttpd.c b/libexec/httpd/bozohttpd.c
index 3c8f800d3f3..a8b728a47d0 100644
--- a/libexec/httpd/bozohttpd.c
+++ b/libexec/httpd/bozohttpd.c
@@ -1,9 +1,9 @@
-/* $NetBSD: bozohttpd.c,v 1.142 2022/09/12 10:30:39 martin Exp $ */
+/* $NetBSD: bozohttpd.c,v 1.143 2023/06/07 20:12:31 mrg Exp $ */
/* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */
/*
- * Copyright (c) 1997-2022 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -108,7 +108,7 @@
#define INDEX_HTML "index.html"
#endif
#ifndef SERVER_SOFTWARE
-#define SERVER_SOFTWARE "bozohttpd/20220517"
+#define SERVER_SOFTWARE "bozohttpd/20230602"
#endif
#ifndef PUBLIC_HTML
#define PUBLIC_HTML "public_html"
diff --git a/libexec/httpd/content-bozo.c b/libexec/httpd/content-bozo.c
index 484f88c6d07..299b61d4a3b 100644
--- a/libexec/httpd/content-bozo.c
+++ b/libexec/httpd/content-bozo.c
@@ -1,9 +1,9 @@
-/* $NetBSD: content-bozo.c,v 1.21 2022/05/31 06:34:33 mrg Exp $ */
+/* $NetBSD: content-bozo.c,v 1.22 2023/06/07 20:12:31 mrg Exp $ */
/* $eterna: content-bozo.c,v 1.17 2011/11/18 09:21:15 mrg Exp $ */
/*
- * Copyright (c) 1997-2021 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -198,6 +198,7 @@ static bozo_content_map_t static_content_map[] = {
{ ".vrml", "x-world/x-vrml", "", "", NULL },
{ ".svg", "image/svg+xml", "", "", NULL },
{ ".mobi", "application/x-mobipocket-ebook", "", "", NULL },
+ { ".iso", "application/octet-stream", "", "", NULL },
{ NULL, NULL, NULL, NULL, NULL }
};
diff --git a/libexec/httpd/main.c b/libexec/httpd/main.c
index af54510aa1a..c9cf465d614 100644
--- a/libexec/httpd/main.c
+++ b/libexec/httpd/main.c
@@ -1,10 +1,10 @@
-/* $NetBSD: main.c,v 1.30 2022/09/12 10:30:39 martin Exp $ */
+/* $NetBSD: main.c,v 1.31 2023/06/07 20:12:31 mrg Exp $ */
/* $eterna: main.c,v 1.6 2011/11/18 09:21:15 mrg Exp $ */
/* from: eterna: bozohttpd.c,v 1.159 2009/05/23 02:14:30 mrg Exp */
/*
- * Copyright (c) 1997-2021 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/libexec/httpd/ssl-bozo.c b/libexec/httpd/ssl-bozo.c
index 5e4d9436507..0aefd582c34 100644
--- a/libexec/httpd/ssl-bozo.c
+++ b/libexec/httpd/ssl-bozo.c
@@ -1,9 +1,9 @@
-/* $NetBSD: ssl-bozo.c,v 1.32 2022/09/12 10:30:39 martin Exp $ */
+/* $NetBSD: ssl-bozo.c,v 1.33 2023/06/07 20:12:31 mrg Exp $ */
/* $eterna: ssl-bozo.c,v 1.15 2011/11/18 09:21:15 mrg Exp $ */
/*
- * Copyright (c) 1997-2020 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without