Module Name: src Committed By: mrg Date: Wed Jun 7 20:12:32 UTC 2023
Modified Files: src/libexec/httpd: bozohttpd.c content-bozo.c main.c ssl-bozo.c Log Message: serve .iso as "application/octet-stream". bump version & copyright. To generate a diff of this commit: cvs rdiff -u -r1.142 -r1.143 src/libexec/httpd/bozohttpd.c cvs rdiff -u -r1.21 -r1.22 src/libexec/httpd/content-bozo.c cvs rdiff -u -r1.30 -r1.31 src/libexec/httpd/main.c cvs rdiff -u -r1.32 -r1.33 src/libexec/httpd/ssl-bozo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/httpd/bozohttpd.c diff -u src/libexec/httpd/bozohttpd.c:1.142 src/libexec/httpd/bozohttpd.c:1.143 --- src/libexec/httpd/bozohttpd.c:1.142 Mon Sep 12 10:30:39 2022 +++ src/libexec/httpd/bozohttpd.c Wed Jun 7 20:12:31 2023 @@ -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" Index: src/libexec/httpd/content-bozo.c diff -u src/libexec/httpd/content-bozo.c:1.21 src/libexec/httpd/content-bozo.c:1.22 --- src/libexec/httpd/content-bozo.c:1.21 Tue May 31 06:34:33 2022 +++ src/libexec/httpd/content-bozo.c Wed Jun 7 20:12:31 2023 @@ -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 { ".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 } }; Index: src/libexec/httpd/main.c diff -u src/libexec/httpd/main.c:1.30 src/libexec/httpd/main.c:1.31 --- src/libexec/httpd/main.c:1.30 Mon Sep 12 10:30:39 2022 +++ src/libexec/httpd/main.c Wed Jun 7 20:12:31 2023 @@ -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 Index: src/libexec/httpd/ssl-bozo.c diff -u src/libexec/httpd/ssl-bozo.c:1.32 src/libexec/httpd/ssl-bozo.c:1.33 --- src/libexec/httpd/ssl-bozo.c:1.32 Mon Sep 12 10:30:39 2022 +++ src/libexec/httpd/ssl-bozo.c Wed Jun 7 20:12:31 2023 @@ -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